]> 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)
commit6f553ffa699539d4761db13dda84b999f54406e9
tree7d2a083e81a8d1a310d1bc4475a4dc230b7baf3b
parent73149d7672bcb1b4d6c3832990b2958f0c7b021b
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