include/uapi/linux/openvswitch.h: use __u32 from linux/types.h
authorMikko Rapeli <mikko.rapeli@iki.fi>
Mon, 22 Aug 2016 18:33:19 +0000 (20:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Aug 2016 23:25:15 +0000 (16:25 -0700)
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>
include/uapi/linux/openvswitch.h

index 645499a..54c3b4f 100644 (file)
@@ -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. */
 };
 
 /**