]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Remove usage of BIT(x) in packet.h
authorSven Eckelmann <sven.eckelmann@openmesh.com>
Thu, 21 Dec 2017 09:17:39 +0000 (10:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Dec 2017 20:35:53 +0000 (15:35 -0500)
commitd70df66173d8558783beeb822b2196dc792ca3e5
tree7d2a083e81a8d1a310d1bc4475a4dc230b7baf3b
parent389bccf715276646b09b308337aa4315506c7017
batman-adv: Remove usage of BIT(x) in packet.h

The BIT(x) macro is no longer available for uapi headers because it is
defined outside of it (linux/bitops.h). The use of it must therefore be
avoided and replaced by an appropriate other representation.

Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/batman-adv/packet.h