# git rev-parse -q --verify acc657692aed438e9931438f8c923b2b107aebf9^{commit} acc657692aed438e9931438f8c923b2b107aebf9 already have revision, skipping fetch # git checkout -q -f -B kisskb acc657692aed438e9931438f8c923b2b107aebf9 # git clean -qxdf # < git log -1 # commit acc657692aed438e9931438f8c923b2b107aebf9 # Author: David Howells # Date: Wed Jan 10 21:11:40 2024 +0000 # # keys, dns: Fix size check of V1 server-list header # # Fix the size check added to dns_resolver_preparse() for the V1 server-list # header so that it doesn't give EINVAL if the size supplied is the same as # the size of the header struct (which should be valid). # # This can be tested with: # # echo -n -e '\0\0\01\xff\0\0' | keyctl padd dns_resolver desc @p # # which will give "add_key: Invalid argument" without this fix. # # Fixes: 1997b3cb4217 ("keys, dns: Fix missing size check of V1 server-list header") # Reported-by: Pengfei Xu # Link: https://lore.kernel.org/r/ZZ4fyY4r3rqgZL+4@xpf.sh.intel.com/ # Signed-off-by: David Howells # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 acc657692aed438e9931438f8c923b2b107aebf9 # make -s -j 40 ARCH=powerpc O=/kisskb/build/linus_ppc64_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64_defconfig # < make -s -j 40 ARCH=powerpc O=/kisskb/build/linus_ppc64_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 40 ARCH=powerpc O=/kisskb/build/linus_ppc64_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 40 ARCH=powerpc O=/kisskb/build/linus_ppc64_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/net/bpf/test_run.c:508:17: warning: no previous prototype for 'bpf_fentry_test1' [-Wmissing-prototypes] __bpf_kfunc int bpf_fentry_test1(int a) ^ /kisskb/src/net/bpf/test_run.c:514:14: warning: no previous prototype for 'bpf_fentry_test2' [-Wmissing-prototypes] int noinline bpf_fentry_test2(int a, u64 b) ^ /kisskb/src/net/bpf/test_run.c:519:14: warning: no previous prototype for 'bpf_fentry_test3' [-Wmissing-prototypes] int noinline bpf_fentry_test3(char a, int b, u64 c) ^ /kisskb/src/net/bpf/test_run.c:524:14: warning: no previous prototype for 'bpf_fentry_test4' [-Wmissing-prototypes] int noinline bpf_fentry_test4(void *a, char b, int c, u64 d) ^ /kisskb/src/net/bpf/test_run.c:529:14: warning: no previous prototype for 'bpf_fentry_test5' [-Wmissing-prototypes] int noinline bpf_fentry_test5(u64 a, void *b, short c, int d, u64 e) ^ /kisskb/src/net/bpf/test_run.c:534:14: warning: no previous prototype for 'bpf_fentry_test6' [-Wmissing-prototypes] int noinline bpf_fentry_test6(u64 a, void *b, short c, int d, void *e, u64 f) ^ /kisskb/src/net/bpf/test_run.c:543:14: warning: no previous prototype for 'bpf_fentry_test7' [-Wmissing-prototypes] int noinline bpf_fentry_test7(struct bpf_fentry_test_t *arg) ^ /kisskb/src/net/bpf/test_run.c:549:14: warning: no previous prototype for 'bpf_fentry_test8' [-Wmissing-prototypes] int noinline bpf_fentry_test8(struct bpf_fentry_test_t *arg) ^ /kisskb/src/net/bpf/test_run.c:554:17: warning: no previous prototype for 'bpf_fentry_test9' [-Wmissing-prototypes] __bpf_kfunc u32 bpf_fentry_test9(u32 *a) ^ /kisskb/src/net/bpf/test_run.c:559:15: warning: no previous prototype for 'bpf_fentry_test_sinfo' [-Wmissing-prototypes] void noinline bpf_fentry_test_sinfo(struct skb_shared_info *sinfo) ^ /kisskb/src/net/bpf/test_run.c:563:17: warning: no previous prototype for 'bpf_modify_return_test' [-Wmissing-prototypes] __bpf_kfunc int bpf_modify_return_test(int a, int *b) ^ /kisskb/src/net/bpf/test_run.c:569:17: warning: no previous prototype for 'bpf_modify_return_test2' [-Wmissing-prototypes] __bpf_kfunc int bpf_modify_return_test2(int a, int *b, short c, int d, ^ /kisskb/src/net/bpf/test_run.c:576:14: warning: no previous prototype for 'bpf_fentry_shadow_test' [-Wmissing-prototypes] int noinline bpf_fentry_shadow_test(int a) ^ /kisskb/src/net/bpf/test_run.c:598:18: warning: no previous prototype for 'bpf_kfunc_call_test_release' [-Wmissing-prototypes] __bpf_kfunc void bpf_kfunc_call_test_release(struct prog_test_ref_kfunc *p) ^ /kisskb/src/net/bpf/test_run.c:603:18: warning: no previous prototype for 'bpf_kfunc_call_memb_release' [-Wmissing-prototypes] __bpf_kfunc void bpf_kfunc_call_memb_release(struct prog_test_member *p) ^ cc1: warning: unrecognized command line option '-Wno-shift-negative-value' /kisskb/src/net/core/filter.c:11799:17: warning: no previous prototype for 'bpf_dynptr_from_skb' [-Wmissing-prototypes] __bpf_kfunc int bpf_dynptr_from_skb(struct sk_buff *skb, u64 flags, ^ /kisskb/src/net/core/filter.c:11812:17: warning: no previous prototype for 'bpf_dynptr_from_xdp' [-Wmissing-prototypes] __bpf_kfunc int bpf_dynptr_from_xdp(struct xdp_buff *xdp, u64 flags, ^ /kisskb/src/net/core/filter.c:11825:17: warning: no previous prototype for 'bpf_sock_addr_set_sun_path' [-Wmissing-prototypes] __bpf_kfunc int bpf_sock_addr_set_sun_path(struct bpf_sock_addr_kern *sa_kern, ^ /kisskb/src/net/core/filter.c:11926:17: warning: no previous prototype for 'bpf_sock_destroy' [-Wmissing-prototypes] __bpf_kfunc int bpf_sock_destroy(struct sock_common *sock) ^ cc1: warning: unrecognized command line option '-Wno-shift-negative-value' /kisskb/src/net/core/xdp.c:711:17: warning: no previous prototype for 'bpf_xdp_metadata_rx_timestamp' [-Wmissing-prototypes] __bpf_kfunc int bpf_xdp_metadata_rx_timestamp(const struct xdp_md *ctx, u64 *timestamp) ^ /kisskb/src/net/core/xdp.c:733:17: warning: no previous prototype for 'bpf_xdp_metadata_rx_hash' [-Wmissing-prototypes] __bpf_kfunc int bpf_xdp_metadata_rx_hash(const struct xdp_md *ctx, u32 *hash, ^ cc1: warning: unrecognized command line option '-Wno-shift-negative-value' /kisskb/src/kernel/cgroup/rstat.c:218:22: warning: no previous prototype for 'bpf_rstat_flush' [-Wmissing-prototypes] __weak noinline void bpf_rstat_flush(struct cgroup *cgrp, ^ cc1: warning: unrecognized command line option '-Wno-shift-negative-value' /kisskb/src/kernel/bpf/helpers.c:1898:19: warning: no previous prototype for 'bpf_obj_new_impl' [-Wmissing-prototypes] __bpf_kfunc void *bpf_obj_new_impl(u64 local_type_id__k, void *meta__ign) ^ /kisskb/src/kernel/bpf/helpers.c:1912:19: warning: no previous prototype for 'bpf_percpu_obj_new_impl' [-Wmissing-prototypes] __bpf_kfunc void *bpf_percpu_obj_new_impl(u64 local_type_id__k, void *meta__ign) ^ /kisskb/src/kernel/bpf/helpers.c:1946:18: warning: no previous prototype for 'bpf_obj_drop_impl' [-Wmissing-prototypes] __bpf_kfunc void bpf_obj_drop_impl(void *p__alloc, void *meta__ign) ^ /kisskb/src/kernel/bpf/helpers.c:1954:18: warning: no previous prototype for 'bpf_percpu_obj_drop_impl' [-Wmissing-prototypes] __bpf_kfunc void bpf_percpu_obj_drop_impl(void *p__alloc, void *meta__ign) ^ /kisskb/src/kernel/bpf/helpers.c:1960:19: warning: no previous prototype for 'bpf_refcount_acquire_impl' [-Wmissing-prototypes] __bpf_kfunc void *bpf_refcount_acquire_impl(void *p__refcounted_kptr, void *meta__ign) ^ /kisskb/src/kernel/bpf/helpers.c:2005:17: warning: no previous prototype for 'bpf_list_push_front_impl' [-Wmissing-prototypes] __bpf_kfunc int bpf_list_push_front_impl(struct bpf_list_head *head, ^ /kisskb/src/kernel/bpf/helpers.c:2015:17: warning: no previous prototype for 'bpf_list_push_back_impl' [-Wmissing-prototypes] __bpf_kfunc int bpf_list_push_back_impl(struct bpf_list_head *head, ^ /kisskb/src/kernel/bpf/helpers.c:2048:35: warning: no previous prototype for 'bpf_list_pop_front' [-Wmissing-prototypes] __bpf_kfunc struct bpf_list_node *bpf_list_pop_front(struct bpf_list_head *head) ^ /kisskb/src/kernel/bpf/helpers.c:2053:35: warning: no previous prototype for 'bpf_list_pop_back' [-Wmissing-prototypes] __bpf_kfunc struct bpf_list_node *bpf_list_pop_back(struct bpf_list_head *head) ^ /kisskb/src/kernel/bpf/helpers.c:2058:33: warning: no previous prototype for 'bpf_rbtree_remove' [-Wmissing-prototypes] __bpf_kfunc struct bpf_rb_node *bpf_rbtree_remove(struct bpf_rb_root *root, ^ /kisskb/src/kernel/bpf/helpers.c:2114:17: warning: no previous prototype for 'bpf_rbtree_add_impl' [-Wmissing-prototypes] __bpf_kfunc int bpf_rbtree_add_impl(struct bpf_rb_root *root, struct bpf_rb_node *node, ^ /kisskb/src/kernel/bpf/helpers.c:2124:33: warning: no previous prototype for 'bpf_rbtree_first' [-Wmissing-prototypes] __bpf_kfunc struct bpf_rb_node *bpf_rbtree_first(struct bpf_rb_root *root) ^ /kisskb/src/kernel/bpf/helpers.c:2137:33: warning: no previous prototype for 'bpf_task_acquire' [-Wmissing-prototypes] __bpf_kfunc struct task_struct *bpf_task_acquire(struct task_struct *p) ^ /kisskb/src/kernel/bpf/helpers.c:2148:18: warning: no previous prototype for 'bpf_task_release' [-Wmissing-prototypes] __bpf_kfunc void bpf_task_release(struct task_struct *p) ^ /kisskb/src/kernel/bpf/helpers.c:2160:28: warning: no previous prototype for 'bpf_cgroup_acquire' [-Wmissing-prototypes] __bpf_kfunc struct cgroup *bpf_cgroup_acquire(struct cgroup *cgrp) ^ /kisskb/src/kernel/bpf/helpers.c:2172:18: warning: no previous prototype for 'bpf_cgroup_release' [-Wmissing-prototypes] __bpf_kfunc void bpf_cgroup_release(struct cgroup *cgrp) ^ /kisskb/src/kernel/bpf/helpers.c:2184:28: warning: no previous prototype for 'bpf_cgroup_ancestor' [-Wmissing-prototypes] __bpf_kfunc struct cgroup *bpf_cgroup_ancestor(struct cgroup *cgrp, int level) ^ /kisskb/src/kernel/bpf/helpers.c:2204:28: warning: no previous prototype for 'bpf_cgroup_from_id' [-Wmissing-prototypes] __bpf_kfunc struct cgroup *bpf_cgroup_from_id(u64 cgid) ^ /kisskb/src/kernel/bpf/helpers.c:2224:18: warning: no previous prototype for 'bpf_task_under_cgroup' [-Wmissing-prototypes] __bpf_kfunc long bpf_task_under_cgroup(struct task_struct *task, ^ /kisskb/src/kernel/bpf/helpers.c:2242:33: warning: no previous prototype for 'bpf_task_from_pid' [-Wmissing-prototypes] __bpf_kfunc struct task_struct *bpf_task_from_pid(s32 pid) ^ /kisskb/src/kernel/bpf/helpers.c:2283:19: warning: no previous prototype for 'bpf_dynptr_slice' [-Wmissing-prototypes] __bpf_kfunc void *bpf_dynptr_slice(const struct bpf_dynptr_kern *ptr, u32 offset, ^ /kisskb/src/kernel/bpf/helpers.c:2367:19: warning: no previous prototype for 'bpf_dynptr_slice_rdwr' [-Wmissing-prototypes] __bpf_kfunc void *bpf_dynptr_slice_rdwr(const struct bpf_dynptr_kern *ptr, u32 offset, ^ /kisskb/src/kernel/bpf/helpers.c:2398:17: warning: no previous prototype for 'bpf_dynptr_adjust' [-Wmissing-prototypes] __bpf_kfunc int bpf_dynptr_adjust(struct bpf_dynptr_kern *ptr, u32 start, u32 end) ^ /kisskb/src/kernel/bpf/helpers.c:2416:18: warning: no previous prototype for 'bpf_dynptr_is_null' [-Wmissing-prototypes] __bpf_kfunc bool bpf_dynptr_is_null(struct bpf_dynptr_kern *ptr) ^ /kisskb/src/kernel/bpf/helpers.c:2421:18: warning: no previous prototype for 'bpf_dynptr_is_rdonly' [-Wmissing-prototypes] __bpf_kfunc bool bpf_dynptr_is_rdonly(struct bpf_dynptr_kern *ptr) ^ /kisskb/src/kernel/bpf/helpers.c:2429:19: warning: no previous prototype for 'bpf_dynptr_size' [-Wmissing-prototypes] __bpf_kfunc __u32 bpf_dynptr_size(const struct bpf_dynptr_kern *ptr) ^ /kisskb/src/kernel/bpf/helpers.c:2437:17: warning: no previous prototype for 'bpf_dynptr_clone' [-Wmissing-prototypes] __bpf_kfunc int bpf_dynptr_clone(struct bpf_dynptr_kern *ptr, ^ /kisskb/src/kernel/bpf/helpers.c:2450:19: warning: no previous prototype for 'bpf_cast_to_kern_ctx' [-Wmissing-prototypes] __bpf_kfunc void *bpf_cast_to_kern_ctx(void *obj) ^ /kisskb/src/kernel/bpf/helpers.c:2455:19: warning: no previous prototype for 'bpf_rdonly_cast' [-Wmissing-prototypes] __bpf_kfunc void *bpf_rdonly_cast(void *obj__ign, u32 btf_id__k) ^ /kisskb/src/kernel/bpf/helpers.c:2460:18: warning: no previous prototype for 'bpf_rcu_read_lock' [-Wmissing-prototypes] __bpf_kfunc void bpf_rcu_read_lock(void) ^ /kisskb/src/kernel/bpf/helpers.c:2465:18: warning: no previous prototype for 'bpf_rcu_read_unlock' [-Wmissing-prototypes] __bpf_kfunc void bpf_rcu_read_unlock(void) ^ /kisskb/src/kernel/bpf/helpers.c:2494:18: warning: no previous prototype for 'bpf_throw' [-Wmissing-prototypes] __bpf_kfunc void bpf_throw(u64 cookie) ^ cc1: warning: unrecognized command line option '-Wno-shift-negative-value' /kisskb/src/kernel/bpf/bpf_iter.c:787:17: warning: no previous prototype for 'bpf_iter_num_new' [-Wmissing-prototypes] __bpf_kfunc int bpf_iter_num_new(struct bpf_iter_num *it, int start, int end) ^ /kisskb/src/kernel/bpf/bpf_iter.c:818:18: warning: no previous prototype for 'bpf_iter_num_next' [-Wmissing-prototypes] __bpf_kfunc int *bpf_iter_num_next(struct bpf_iter_num* it) ^ /kisskb/src/kernel/bpf/bpf_iter.c:837:18: warning: no previous prototype for 'bpf_iter_num_destroy' [-Wmissing-prototypes] __bpf_kfunc void bpf_iter_num_destroy(struct bpf_iter_num *it) ^ cc1: warning: unrecognized command line option '-Wno-shift-negative-value' /kisskb/src/kernel/bpf/map_iter.c:198:17: warning: no previous prototype for 'bpf_map_sum_elem_count' [-Wmissing-prototypes] __bpf_kfunc s64 bpf_map_sum_elem_count(const struct bpf_map *map) ^ cc1: warning: unrecognized command line option '-Wno-shift-negative-value' /kisskb/src/kernel/bpf/task_iter.c:827:17: warning: no previous prototype for 'bpf_iter_task_vma_new' [-Wmissing-prototypes] __bpf_kfunc int bpf_iter_task_vma_new(struct bpf_iter_task_vma *it, ^ /kisskb/src/kernel/bpf/task_iter.c:871:36: warning: no previous prototype for 'bpf_iter_task_vma_next' [-Wmissing-prototypes] __bpf_kfunc struct vm_area_struct *bpf_iter_task_vma_next(struct bpf_iter_task_vma *it) ^ /kisskb/src/kernel/bpf/task_iter.c:880:18: warning: no previous prototype for 'bpf_iter_task_vma_destroy' [-Wmissing-prototypes] __bpf_kfunc void bpf_iter_task_vma_destroy(struct bpf_iter_task_vma *it) ^ /kisskb/src/kernel/bpf/task_iter.c:905:17: warning: no previous prototype for 'bpf_iter_css_task_new' [-Wmissing-prototypes] __bpf_kfunc int bpf_iter_css_task_new(struct bpf_iter_css_task *it, ^ /kisskb/src/kernel/bpf/task_iter.c:930:33: warning: no previous prototype for 'bpf_iter_css_task_next' [-Wmissing-prototypes] __bpf_kfunc struct task_struct *bpf_iter_css_task_next(struct bpf_iter_css_task *it) ^ /kisskb/src/kernel/bpf/task_iter.c:939:18: warning: no previous prototype for 'bpf_iter_css_task_destroy' [-Wmissing-prototypes] __bpf_kfunc void bpf_iter_css_task_destroy(struct bpf_iter_css_task *it) ^ /kisskb/src/kernel/bpf/task_iter.c:974:17: warning: no previous prototype for 'bpf_iter_task_new' [-Wmissing-prototypes] __bpf_kfunc int bpf_iter_task_new(struct bpf_iter_task *it, ^ /kisskb/src/kernel/bpf/task_iter.c:1005:33: warning: no previous prototype for 'bpf_iter_task_next' [-Wmissing-prototypes] __bpf_kfunc struct task_struct *bpf_iter_task_next(struct bpf_iter_task *it) ^ /kisskb/src/kernel/bpf/task_iter.c:1038:18: warning: no previous prototype for 'bpf_iter_task_destroy' [-Wmissing-prototypes] __bpf_kfunc void bpf_iter_task_destroy(struct bpf_iter_task *it) ^ cc1: warning: unrecognized command line option '-Wno-shift-negative-value' /kisskb/src/kernel/trace/bpf_trace.c:1282:29: warning: no previous prototype for 'bpf_lookup_user_key' [-Wmissing-prototypes] __bpf_kfunc struct bpf_key *bpf_lookup_user_key(u32 serial, u64 flags) ^ /kisskb/src/kernel/trace/bpf_trace.c:1331:29: warning: no previous prototype for 'bpf_lookup_system_key' [-Wmissing-prototypes] __bpf_kfunc struct bpf_key *bpf_lookup_system_key(u64 id) ^ /kisskb/src/kernel/trace/bpf_trace.c:1355:18: warning: no previous prototype for 'bpf_key_put' [-Wmissing-prototypes] __bpf_kfunc void bpf_key_put(struct bpf_key *bkey) ^ /kisskb/src/kernel/trace/bpf_trace.c:1375:17: warning: no previous prototype for 'bpf_verify_pkcs7_signature' [-Wmissing-prototypes] __bpf_kfunc int bpf_verify_pkcs7_signature(struct bpf_dynptr_kern *data_ptr, ^ cc1: warning: unrecognized command line option '-Wno-shift-negative-value' /kisskb/src/net/socket.c:1694:21: warning: no previous prototype for 'update_socket_protocol' [-Wmissing-prototypes] __weak noinline int update_socket_protocol(int family, int type, int protocol) ^ cc1: warning: unrecognized command line option '-Wno-shift-negative-value' /kisskb/src/kernel/bpf/cgroup_iter.c:310:17: warning: no previous prototype for 'bpf_iter_css_new' [-Wmissing-prototypes] __bpf_kfunc int bpf_iter_css_new(struct bpf_iter_css *it, ^ /kisskb/src/kernel/bpf/cgroup_iter.c:334:41: warning: no previous prototype for 'bpf_iter_css_next' [-Wmissing-prototypes] __bpf_kfunc struct cgroup_subsys_state *bpf_iter_css_next(struct bpf_iter_css *it) ^ /kisskb/src/kernel/bpf/cgroup_iter.c:355:18: warning: no previous prototype for 'bpf_iter_css_destroy' [-Wmissing-prototypes] __bpf_kfunc void bpf_iter_css_destroy(struct bpf_iter_css *it) ^ cc1: warning: unrecognized command line option '-Wno-shift-negative-value' /kisskb/src/kernel/bpf/cpumask.c:49:33: warning: no previous prototype for 'bpf_cpumask_create' [-Wmissing-prototypes] __bpf_kfunc struct bpf_cpumask *bpf_cpumask_create(void) ^ /kisskb/src/kernel/bpf/cpumask.c:75:33: warning: no previous prototype for 'bpf_cpumask_acquire' [-Wmissing-prototypes] __bpf_kfunc struct bpf_cpumask *bpf_cpumask_acquire(struct bpf_cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:89:18: warning: no previous prototype for 'bpf_cpumask_release' [-Wmissing-prototypes] __bpf_kfunc void bpf_cpumask_release(struct bpf_cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:106:17: warning: no previous prototype for 'bpf_cpumask_first' [-Wmissing-prototypes] __bpf_kfunc u32 bpf_cpumask_first(const struct cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:119:17: warning: no previous prototype for 'bpf_cpumask_first_zero' [-Wmissing-prototypes] __bpf_kfunc u32 bpf_cpumask_first_zero(const struct cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:133:17: warning: no previous prototype for 'bpf_cpumask_first_and' [-Wmissing-prototypes] __bpf_kfunc u32 bpf_cpumask_first_and(const struct cpumask *src1, ^ /kisskb/src/kernel/bpf/cpumask.c:144:18: warning: no previous prototype for 'bpf_cpumask_set_cpu' [-Wmissing-prototypes] __bpf_kfunc void bpf_cpumask_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:157:18: warning: no previous prototype for 'bpf_cpumask_clear_cpu' [-Wmissing-prototypes] __bpf_kfunc void bpf_cpumask_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:174:18: warning: no previous prototype for 'bpf_cpumask_test_cpu' [-Wmissing-prototypes] __bpf_kfunc bool bpf_cpumask_test_cpu(u32 cpu, const struct cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:191:18: warning: no previous prototype for 'bpf_cpumask_test_and_set_cpu' [-Wmissing-prototypes] __bpf_kfunc bool bpf_cpumask_test_and_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:209:18: warning: no previous prototype for 'bpf_cpumask_test_and_clear_cpu' [-Wmissing-prototypes] __bpf_kfunc bool bpf_cpumask_test_and_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:221:18: warning: no previous prototype for 'bpf_cpumask_setall' [-Wmissing-prototypes] __bpf_kfunc void bpf_cpumask_setall(struct bpf_cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:230:18: warning: no previous prototype for 'bpf_cpumask_clear' [-Wmissing-prototypes] __bpf_kfunc void bpf_cpumask_clear(struct bpf_cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:247:18: warning: no previous prototype for 'bpf_cpumask_and' [-Wmissing-prototypes] __bpf_kfunc bool bpf_cpumask_and(struct bpf_cpumask *dst, ^ /kisskb/src/kernel/bpf/cpumask.c:262:18: warning: no previous prototype for 'bpf_cpumask_or' [-Wmissing-prototypes] __bpf_kfunc void bpf_cpumask_or(struct bpf_cpumask *dst, ^ /kisskb/src/kernel/bpf/cpumask.c:277:18: warning: no previous prototype for 'bpf_cpumask_xor' [-Wmissing-prototypes] __bpf_kfunc void bpf_cpumask_xor(struct bpf_cpumask *dst, ^ /kisskb/src/kernel/bpf/cpumask.c:295:18: warning: no previous prototype for 'bpf_cpumask_equal' [-Wmissing-prototypes] __bpf_kfunc bool bpf_cpumask_equal(const struct cpumask *src1, const struct cpumask *src2) ^ /kisskb/src/kernel/bpf/cpumask.c:311:18: warning: no previous prototype for 'bpf_cpumask_intersects' [-Wmissing-prototypes] __bpf_kfunc bool bpf_cpumask_intersects(const struct cpumask *src1, const struct cpumask *src2) ^ /kisskb/src/kernel/bpf/cpumask.c:327:18: warning: no previous prototype for 'bpf_cpumask_subset' [-Wmissing-prototypes] __bpf_kfunc bool bpf_cpumask_subset(const struct cpumask *src1, const struct cpumask *src2) ^ /kisskb/src/kernel/bpf/cpumask.c:342:18: warning: no previous prototype for 'bpf_cpumask_empty' [-Wmissing-prototypes] __bpf_kfunc bool bpf_cpumask_empty(const struct cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:357:18: warning: no previous prototype for 'bpf_cpumask_full' [-Wmissing-prototypes] __bpf_kfunc bool bpf_cpumask_full(const struct cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:369:18: warning: no previous prototype for 'bpf_cpumask_copy' [-Wmissing-prototypes] __bpf_kfunc void bpf_cpumask_copy(struct bpf_cpumask *dst, const struct cpumask *src) ^ /kisskb/src/kernel/bpf/cpumask.c:384:17: warning: no previous prototype for 'bpf_cpumask_any_distribute' [-Wmissing-prototypes] __bpf_kfunc u32 bpf_cpumask_any_distribute(const struct cpumask *cpumask) ^ /kisskb/src/kernel/bpf/cpumask.c:402:17: warning: no previous prototype for 'bpf_cpumask_any_and_distribute' [-Wmissing-prototypes] __bpf_kfunc u32 bpf_cpumask_any_and_distribute(const struct cpumask *src1, ^ cc1: warning: unrecognized command line option '-Wno-shift-negative-value' Completed OK # rm -rf /kisskb/build/linus_ppc64_defconfig_powerpc-gcc5 # Build took: 0:02:06.921695