public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* mainline build failure due to 8295efbe68c0 ("md/raid1-10: factor out a helper to submit normal write")
@ 2023-06-29 13:32 Sudip Mukherjee (Codethink)
  2023-06-29 13:56 ` Yu Kuai
  0 siblings, 1 reply; 7+ messages in thread
From: Sudip Mukherjee (Codethink) @ 2023-06-29 13:32 UTC (permalink / raw)
  To: Yu Kuai, Song Liu; +Cc: linux-raid, linux-kernel, Linus Torvalds, regressions

Hi All,

The latest mainline kernel branch fails to build x86_64, arm64 and arm allmodconfig
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

-- 
Regards
Sudip

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-06-29 20:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-29 13:32 mainline build failure due to 8295efbe68c0 ("md/raid1-10: factor out a helper to submit normal write") Sudip Mukherjee (Codethink)
2023-06-29 13:56 ` Yu Kuai
2023-06-29 14:06   ` Sudip Mukherjee
2023-06-29 14:09   ` Linux regression tracking (Thorsten Leemhuis)
2023-06-29 15:55     ` Song Liu
2023-06-29 15:56       ` Song Liu
2023-06-29 20:05         ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox