summaryrefslogtreecommitdiffstats
path: root/include/linux/verification.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2023-08-26 16:36:41 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2023-09-15 18:29:45 +0800
commit0a596b0682a7ce37e26c36629816f105c6459d06 (patch)
treeec6bca6c69c7fb03f39bc9fca2fc58aa85dc0a20 /include/linux/verification.h
parentd44f588eb12a0e338a6629ee92fd6e53182b99ad (diff)
downloadlinux-stable-0a596b0682a7ce37e26c36629816f105c6459d06.tar.gz
linux-stable-0a596b0682a7ce37e26c36629816f105c6459d06.tar.bz2
linux-stable-0a596b0682a7ce37e26c36629816f105c6459d06.zip
KEYS: Include linux/errno.h in linux/verification.h
Add inclusion of linux/errno.h as otherwise the reference to EINVAL may be invalid. Fixes: f3cf4134c5c6 ("bpf: Add bpf_lookup_*_key() and bpf_key_put() kfuncs") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202308261414.HKw1Mrip-lkp@intel.com/ Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/verification.h')
-rw-r--r--include/linux/verification.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/verification.h b/include/linux/verification.h
index f34e50ebcf60..cb2d47f28091 100644
--- a/include/linux/verification.h
+++ b/include/linux/verification.h
@@ -8,6 +8,7 @@
#ifndef _LINUX_VERIFICATION_H
#define _LINUX_VERIFICATION_H
+#include <linux/errno.h>
#include <linux/types.h>
/*