OSDN Git Service

devlink: include <linux/const.h> for _BITUL
authorJacob Keller <jacob.e.keller@intel.com>
Tue, 29 Sep 2020 18:08:59 +0000 (11:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2020 20:58:41 +0000 (13:58 -0700)
commit2ec13cbcfadbbeac499f3b63de0f7db490d45a7e
tree6404c4c7c6337e517da65e391bbdfddc056671a6
parent902c2a316871ed2cb0a3da6d7f2e38e3e8b31dc8
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.

Fixes: 5d5b4128c4ca ("devlink: introduce flash update overwrite mask")
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/devlink.h