Hi, 在 2023/06/29 21:32, Sudip Mukherjee (Codethink) 写道:
Hi All, The latest mainline kernel branch fails to build x86_64, arm64 and arm allmodconfig
Thanks for the testing, which branch are you testing? This problem is already fixed in latest mainline kernel: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=b5a99602b74bbfa655be509c615181dd95b0719e Kuai
with clang (version 16.0.1), and the error is: In file included from drivers/md/raid1.c:52: drivers/md/raid1-10.c:119:25: error: casting from randomized structure pointer type 'struct block_device *' to 'struct md_rdev *' struct md_rdev *rdev = (struct md_rdev *)bio->bi_bdev; ^ git bisect pointed to 8295efbe68c0 ("md/raid1-10: factor out a helper to submit normal write"). Reverting the commit has fixed the build failure. I will be happy to test any patch or provide any extra log if needed. #regzbot introduced: 8295efbe68c080047e98d9c0eb5cb933b238a8cb