netlink: uapi: use hex numbers for NLM_F_* flags
authorJohannes Berg <johannes.berg@intel.com>
Thu, 6 Apr 2017 14:10:42 +0000 (16:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 8 Apr 2017 15:26:02 +0000 (08:26 -0700)
commit261a0a54d1ebcd04fb4a1c3f971b2c3b7ae06925
tree07e0923888356e59cab797ec18fe561877ce9833
parent1f1120a5427c9e7894be63baaab828755e45a1c0
netlink: uapi: use hex numbers for NLM_F_* flags

It's rather confusing that the netlink message flags are
numbered 1, 2, 4, 8, 16, 32, <unused>, 0x100. Make that
more understandable by numbering the lower ones with hex
constants as well.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/netlink.h