Skip to content
Snippets Groups Projects
Commit b477cf59 authored by Herbert Xu's avatar Herbert Xu
Browse files

KEYS: Include linux/errno.h in linux/verification.h

JIRA: https://issues.redhat.com/browse/RHEL-81929



commit 0a596b0682a7ce37e26c36629816f105c6459d06
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: f3cf4134c5c6 ("bpf: Add bpf_lookup_*_key() and bpf_key_put() kfuncs")
Reported-by: default avatarkernel test robot <lkp@intel.com>
    Closes: https://lore.kernel.org/oe-kbuild-all/202308261414.HKw1Mrip-lkp@intel.com/


Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>

Signed-off-by: default avatarHerbert Xu <herbert.xu@redhat.com>
parent 49172e6d
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,7 @@
#ifndef _LINUX_VERIFICATION_H
#define _LINUX_VERIFICATION_H
#include <linux/errno.h>
#include <linux/types.h>
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment