Skip to content

Commit

Permalink
virtchnl: use u8 type for a field in the virtchnl_filter struct
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Harshitha Ramamurthy authored and Jeff Kirsher committed Aug 30, 2018
1 parent e65aae0 commit a4e0109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/avf/virtchnl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a4e0109

Please sign in to comment.