diff options
author | Daniel T. Lee <danieltimlee@gmail.com> | 2023-08-18 18:01:11 +0900 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-08-21 15:39:09 -0700 |
commit | 34f6e38f58db9a94718c273edc9ca3fc8b4dba5f (patch) | |
tree | 83cc6eb25e53bda2a6fd77de3c662537b5ae7b8c /include/crypto/skcipher.h | |
parent | 5bebd3e3a37dc00c6dbbcd0eb5cebd58e3f18f64 (diff) | |
download | linux-34f6e38f58db9a94718c273edc9ca3fc8b4dba5f.tar.gz linux-34f6e38f58db9a94718c273edc9ca3fc8b4dba5f.tar.bz2 linux-34f6e38f58db9a94718c273edc9ca3fc8b4dba5f.zip |
samples/bpf: fix warning with ignored-attributes
Currently, compiling the bpf programs will result the warning with the
ignored attribute as follows. This commit fixes the warning by adding
cf-protection option.
In file included from ./arch/x86/include/asm/linkage.h:6:
./arch/x86/include/asm/ibt.h:77:8: warning: 'nocf_check' attribute ignored; use -fcf-protection to enable the attribute [-Wignored-attributes]
extern __noendbr u64 ibt_save(bool disable);
^
./arch/x86/include/asm/ibt.h:32:34: note: expanded from macro '__noendbr'
^
Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com>
Link: https://lore.kernel.org/r/20230818090119.477441-2-danieltimlee@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/crypto/skcipher.h')
0 files changed, 0 insertions, 0 deletions