Commit a4e0109a authored by Harshitha Ramamurthy's avatar Harshitha Ramamurthy Committed by Jeff Kirsher

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: default avatarHarshitha Ramamurthy <harshitha.ramamurthy@intel.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent e65aae08
...@@ -573,7 +573,7 @@ struct virtchnl_filter { ...@@ -573,7 +573,7 @@ struct virtchnl_filter {
enum virtchnl_flow_type flow_type; enum virtchnl_flow_type flow_type;
enum virtchnl_action action; enum virtchnl_action action;
u32 action_meta; u32 action_meta;
__u8 field_flags; u8 field_flags;
}; };
VIRTCHNL_CHECK_STRUCT_LEN(272, virtchnl_filter); VIRTCHNL_CHECK_STRUCT_LEN(272, virtchnl_filter);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment