projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d44f588
)
KEYS: Include linux/errno.h in linux/verification.h
author
Herbert Xu
<herbert@gondor.apana.org.au>
Sat, 26 Aug 2023 08:36:41 +0000
(16:36 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 15 Sep 2023 10:29:45 +0000
(18:29 +0800)
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>
include/linux/verification.h
patch
|
blob
|
history
diff --git
a/include/linux/verification.h
b/include/linux/verification.h
index f34e50ebcf60a4377cbcafbc8960d898265b9a9c..cb2d47f2809103d2d4be272885d630517c26f312 100644
(file)
--- 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>
/*