]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c1d5368315dd19853c9260cc3be104488c2d1bd
tree6404c4c7c6337e517da65e391bbdfddc056671a6
parentcf30964d8a2749d7db5dbb7f87bbf342a376c462
devlink: include <linux/const.h> for _BITUL

Commit 5f7ddc274981 ("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: 5f7ddc274981 ("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