Re: <stdin>:4:15: error: use of undeclared identifier 'csum_partial'
From: Sami Tolvanen
Date: Mon Apr 14 2025 - 11:20:30 EST
On Sun, Apr 13, 2025 at 1:48 PM kernel test robot <lkp@xxxxxxxxx> wrote:
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 8ffd015db85fea3e15a77027fda6c02ced4d2444
> commit: 9c3681f9b9fd12cdbc4a542df599f1837512f3d5 kbuild: Add gendwarfksyms as an alternative to genksyms
> date: 3 months ago
> config: um-randconfig-r073-20250414 (https://download.01.org/0day-ci/archive/20250414/202504140435.2OoLcwfS-lkp@xxxxxxxxx/config)
> compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project f819f46284f2a79790038e1f6649172789734ae8)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250414/202504140435.2OoLcwfS-lkp@xxxxxxxxx/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@xxxxxxxxx>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202504140435.2OoLcwfS-lkp@xxxxxxxxx/
>
> All errors (new ones prefixed by >>):
>
> >> <stdin>:4:15: error: use of undeclared identifier 'csum_partial'
> 4 | EXPORT_SYMBOL(csum_partial);
> | ^
> >> <stdin>:5:15: error: use of undeclared identifier 'csum_partial_copy_generic'
> 5 | EXPORT_SYMBOL(csum_partial_copy_generic);
> | ^
> 2 errors generated.
This patch should fix these errors too:
https://lore.kernel.org/lkml/20250326190500.847236-2-samitolvanen@xxxxxxxxxx/
Sami