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
Fixes userspace compiler error:

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 eafe921 commit e6571aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/uapi/linux/openvswitch.h
Original file line number Diff line number Diff line change
Expand Up @@ -632,8 +632,8 @@ enum ovs_hash_alg {
* @hash_basis: basis used for computing hash.
*/
struct ovs_action_hash {
uint32_t hash_alg; /* One of ovs_hash_alg. */
uint32_t hash_basis;
__u32 hash_alg; /* One of ovs_hash_alg. */
__u32 hash_basis;
};

/**
Expand Down

0 comments on commit e6571aa

Please sign in to comment.