]> git.baikalelectronics.ru Git - kernel.git/commit
devlink: use _BITUL() macro instead of BIT() in the UAPI header
authorTobias Klauser <tklauser@distanz.ch>
Tue, 15 Dec 2020 10:25:31 +0000 (11:25 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 17 Dec 2020 00:16:40 +0000 (16:16 -0800)
commit8831dc4f78612cc9329879ac8b0eb07ac7ceb21b
treee56ff575e3d9cba50eff5e6543cc03665fb9fe04
parent6182e1b716b837a3854711b2f61d046acd834b67
devlink: use _BITUL() macro instead of BIT() in the UAPI header

The BIT() macro is not available for the UAPI headers. Moreover, it can
be defined differently in user space headers. Thus, replace its usage
with the _BITUL() macro which is already used in other macro definitions
in <linux/devlink.h>.

Fixes: 1919f755a50b ("devlink: Add devlink reload limit option")
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Link: https://lore.kernel.org/r/20201215102531.16958-1-tklauser@distanz.ch
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/uapi/linux/devlink.h