History

devlink: include <linux/const.h> for _BITUL

Commit 5d5b4128c4ca ("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.

Jacob Keller committed 6 years ago

Commit 2ec13cb1 parent 902c2a31 file · +2 −0Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/devlink.h+2−0
@@ -13,6 +13,8 @@ · 12 unmodified lines
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"