Re: [PATCH bpf-next 3/4] bpf: Add ECDSA signature verification kfuncs

kernel test robot
2025-11-18T17:29:00Z

Hi Daniel,

kernel test robot noticed the following build warnings:

[auto build test WARNING on bpf-next/master]

url: https://github.com/intel-lab-lkp/linux/commits/Daniel-Hodges/bpf-Add-SHA-hash-kfuncs-for-cryptographic-hashing/20251118-051958
base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
patch link: https://lore.kernel.org/r/20251117211413.1394-4-git%40danielhodges.dev
patch subject: [PATCH bpf-next 3/4] bpf: Add ECDSA signature verification kfuncs
config: openrisc-randconfig-r133-20251118 (https://download.01.org/0day-ci/archive/20251119/202511190147.y9V59VgY-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251119/202511190147.y9V59VgY-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511190147.y9V59VgY-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> kernel/bpf/crypto.c:607:34: sparse: sparse: symbol 'bpf_ecdsa_ctx_acquire' was not declared. Should it be static?

vim +/bpf_ecdsa_ctx_acquire +607 kernel/bpf/crypto.c

606
> 607 __bpf_kfunc struct bpf_ecdsa_ctx *
608 bpf_ecdsa_ctx_acquire(struct bpf_ecdsa_ctx *ctx)
609 {
610 if (!refcount_inc_not_zero(&ctx->usage))
611 return NULL;
612 return ctx;
613 }
614

--
0-DAY CI Kernel Test Service