Re: [PATCH 5.15 000/479] 5.15.165-rc3 review

From: Mark Brown
Date: Tue Aug 20 2024 - 10:48:10 EST


On Sat, Aug 17, 2024 at 10:00:38AM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.165 release.
> There are 479 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.

This breaks the build of at least the KVM selftests on arm64 for me:

In file included from dirty_log_test.c:15:
../../../../tools/include/linux/bitmap.h: In function ‘bitmap_zero’:
../../../../tools/include/linux/bitmap.h:33:34: warning: implicit declaration of
function ‘ALIGN’ [-Wimplicit-function-declaration]
33 | #define bitmap_size(nbits) (ALIGN(nbits, BITS_PER_LONG) / BITS_PER_
BYTE)
| ^~~~~
../../../../tools/include/linux/bitmap.h:40:32: note: in expansion of macro ‘bit
map_size’
40 | memset(dst, 0, bitmap_size(nbits));
| ^~~~~~~~~~~
/usr/bin/ld: /tmp/cc4JPVlx.o: in function `bitmap_alloc':
/build/stage/linux/tools/testing/selftests/kvm/../../../../tools/include/linux/b
itmap.h:126: undefined reference to `ALIGN'
/usr/bin/ld: /build/stage/linux/tools/testing/selftests/kvm/../../../../tools/in
clude/linux/bitmap.h:126: undefined reference to `ALIGN'
collect2: error: ld returned 1 exit status

This bisects down to:

9853a5bed65d507048dbe772bb84e6f905b772a3 is the first bad commit
commit 9853a5bed65d507048dbe772bb84e6f905b772a3
Author: Alexander Lobakin <aleksander.lobakin@xxxxxxxxx>
Date: Wed Mar 27 16:23:49 2024 +0100

bitmap: introduce generic optimized bitmap_size()

commit a37fbe666c016fd89e4460d0ebfcea05baba46dc upstream.

A similar issue appears to affect at least the 5.10 -rc.

Attachment: signature.asc
Description: PGP signature