Skip to content

Commit 2ec13cb

Browse files
jacob-kellerdavem330
authored andcommitted
devlink: include <linux/const.h> for _BITUL
Commit 5d5b412 ("devlink: introduce flash update overwrite mask") added a usage of _BITUL to the UAPI <linux/devlink.h> header, but failed to include the header file where it was defined. It happens that this does not break any existing kernel include chains because it gets included through other sources. However, when including the UAPI headers in a userspace application (such as devlink in iproute2), _BITUL is not defined. Fixes: 5d5b412 ("devlink: introduce flash update overwrite mask") Signed-off-by: Jacob Keller <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 902c2a3 commit 2ec13cb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/uapi/linux/devlink.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
#ifndef _UAPI_LINUX_DEVLINK_H_
1414
#define _UAPI_LINUX_DEVLINK_H_
1515

16+
#include <linux/const.h>
17+
1618
#define DEVLINK_GENL_NAME "devlink"
1719
#define DEVLINK_GENL_VERSION 0x1
1820
#define DEVLINK_GENL_MCGRP_CONFIG_NAME "config"

0 commit comments

Comments
 (0)