]> git.baikalelectronics.ru Git - kernel.git/commit
netlink: replace __NLA_ENSURE implementation
authorJohannes Berg <johannes.berg@intel.com>
Fri, 12 Oct 2018 10:53:00 +0000 (12:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Oct 2018 18:00:22 +0000 (11:00 -0700)
commit31da984251d39fbb0b26d167e1df029aee3bbea9
tree1d25d181f41482bfb655d1f39e2b7a69e3b831a5
parent02f7e3f87e03d26fc8ced27e3478505228b8bfa9
netlink: replace __NLA_ENSURE implementation

We already have BUILD_BUG_ON_ZERO() which I just hadn't found
before, so we should use it here instead of open-coding another
implementation thereof.

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