Skip to content

Commit

Permalink
include/uapi/linux/openvswitch.h: use __u32 from linux/types.h
Browse files Browse the repository at this point in the history
Kernel uapi header are supposed to use them. Fixes userspace compile error:

linux/openvswitch.h:583:2: error: unknown type name ‘uint32_t’

Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Mikko Rapeli authored and David S. Miller committed Aug 22, 2016
1 parent cf00713 commit a1d1f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/uapi/linux/openvswitch.h
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ enum ovs_userspace_attr {
#define OVS_USERSPACE_ATTR_MAX (__OVS_USERSPACE_ATTR_MAX - 1)

struct ovs_action_trunc {
uint32_t max_len; /* Max packet size in bytes. */
__u32 max_len; /* Max packet size in bytes. */
};

/**
Expand Down

0 comments on commit a1d1f65

Please sign in to comment.