linux-next: build failure after merge of the bitmap tree

Stephen Rothwell
2024-05-08T06:28:00Z

[-- Attachment #1: Type: text/plain, Size: 1022 bytes --]

Hi all,

After merging the bitmap tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

lib/test_bitops.c: In function 'test_fns':
lib/test_bitops.c:56:9: error: cleanup argument not a function
56 | unsigned long *buf __free(kfree) = NULL;
| ^~~~~~~~
lib/test_bitops.c:60:15: error: implicit declaration of function 'kmalloc_array' [-Werror=implicit-function-declaration]
60 | buf = kmalloc_array(10000, sizeof(unsigned long), GFP_KERNEL);
| ^~~~~~~~~~~~~
lib/test_bitops.c:60:13: error: assignment to 'long unsigned int *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
60 | buf = kmalloc_array(10000, sizeof(unsigned long), GFP_KERNEL);
| ^
cc1: all warnings being treated as errors

Caused by commit

777c893e12fa ("lib/test_bitops: Add benchmark test for fns()")

I have used the bitmap tree from next-20240507 for today.

--
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]