diff options
author | Harshitha Ramamurthy <harshitha.ramamurthy@intel.com> | 2018-08-20 08:12:32 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2018-08-30 13:53:04 -0700 |
commit | a4e0109a19c554e44c832958e426303781e1ad30 (patch) | |
tree | 325a1c6d6946bf2db969d779e27e5da3b5725305 /include/linux/avf | |
parent | e65aae086330d0a6c6c9f874aef03c69cf98884b (diff) | |
download | lwn-a4e0109a19c554e44c832958e426303781e1ad30.tar.gz lwn-a4e0109a19c554e44c832958e426303781e1ad30.zip |
virtchnl: use u8 type for a field in the virtchnl_filter struct
The virtchnl_filter struct has a field called field_flags. A previous
commit mistakenly had the type to be a __u8. What we want is for the
field to be an unsigned 8 bit value, so let's just use the existing
kernel type u8 for that.
Signed-off-by: Harshitha Ramamurthy <harshitha.ramamurthy@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'include/linux/avf')
-rw-r--r-- | include/linux/avf/virtchnl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/avf/virtchnl.h b/include/linux/avf/virtchnl.h index 212b3822d180..b41f7bc958ef 100644 --- a/include/linux/avf/virtchnl.h +++ b/include/linux/avf/virtchnl.h @@ -573,7 +573,7 @@ struct virtchnl_filter { enum virtchnl_flow_type flow_type; enum virtchnl_action action; u32 action_meta; - __u8 field_flags; + u8 field_flags; }; VIRTCHNL_CHECK_STRUCT_LEN(272, virtchnl_filter); |