Skip to content

Commit a4e0109

Browse files
hramamu1Jeff Kirsher
authored andcommitted
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>
1 parent e65aae0 commit a4e0109

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/linux/avf/virtchnl.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ struct virtchnl_filter {
573573
enum virtchnl_flow_type flow_type;
574574
enum virtchnl_action action;
575575
u32 action_meta;
576-
__u8 field_flags;
576+
u8 field_flags;
577577
};
578578

579579
VIRTCHNL_CHECK_STRUCT_LEN(272, virtchnl_filter);

0 commit comments

Comments
 (0)