]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit470eee3fc79bad740ed7b6e3a59784be8e22b129
tree07e0923888356e59cab797ec18fe561877ce9833
parent9b688b2b4af6d30cb2ceb6dd503e33043e7cf449
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