Skip to content

Commit b477cf5

Browse files
author
Herbert Xu
committed
KEYS: Include linux/errno.h in linux/verification.h
JIRA: https://issues.redhat.com/browse/RHEL-81929 commit 0a596b0 Author: Herbert Xu <herbert@gondor.apana.org.au> Date: Sat Aug 26 16:36:41 2023 +0800 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: f3cf413 ("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> Signed-off-by: Herbert Xu <herbert.xu@redhat.com>
1 parent 49172e6 commit b477cf5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/verification.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#ifndef _LINUX_VERIFICATION_H
99
#define _LINUX_VERIFICATION_H
1010

11+
#include <linux/errno.h>
1112
#include <linux/types.h>
1213

1314
/*

0 commit comments

Comments
 (0)