]> 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)
commit435d3e19f9a898998cb0cdd90bba4b95762aab6d
treee56ff575e3d9cba50eff5e6543cc03665fb9fe04
parent987d916186296b3cdfbbd7613c4b5e7aa500f044
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: 25e9014a23a6 ("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