mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v6 0/2] scsi: sd: Fix build warning in sd_revalidate_disk()
@ 2025-08-09  9:35 Abinash Singh
  2025-08-09  9:35 ` [PATCH v6 1/2] scsi: sd: make sd_revalidate_disk() return void Abinash Singh
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Abinash Singh @ 2025-08-09  9:35 UTC (permalink / raw)
  To: abinashsinghlalotra
  Cc: James.Bottomley, bvanassche, dlemoal, linux-kernel, linux-scsi,
	martin.petersen, kernel test robot

This v6 series follows up on v5 of the "scsi: sd: Fix build warning in
sd_revalidate_disk()" patches.
In v5, the change was split into two
patches: the first patch refactors sd_revalidate_disk() to return void,
and the second patch addresses excessive stack usage by allocating
certain structures dynamically.

Apologies for the oversight in v5 — although I built and tested the
kernel locally with the correct changes, I mistakenly sent an older
version of patch 2/2 that still had `size(*lim)` instead of
`sizeof(*lim)`. This caused a build error reported by the kernel test
robot when building with clang.

Changes in v6:
 - Replace `size(*lim)` with `sizeof(*lim)` in patch 2/2


Now there are no build errors.
I am very sorry for that .

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202508091640.gvFPjI6O-lkp@intel.com/


Abinash Singh (2):
  scsi: sd: make sd_revalidate_disk() return void
  scsi: sd: Fix build warning in sd_revalidate_disk()

 drivers/scsi/sd.c | 54 +++++++++++++++++++++++++++--------------------
 1 file changed, 31 insertions(+), 23 deletions(-)

-- 
2.50.1


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

end of thread, other threads:[~2025-08-11  0:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-09  9:35 [PATCH v6 0/2] scsi: sd: Fix build warning in sd_revalidate_disk() Abinash Singh
2025-08-09  9:35 ` [PATCH v6 1/2] scsi: sd: make sd_revalidate_disk() return void Abinash Singh
2025-08-09  9:35 ` [PATCH v6 2/2] scsi: sd: Fix build warning in sd_revalidate_disk() Abinash Singh
2025-08-11  0:39 ` [PATCH v6 0/2] " Damien Le Moal

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

all inboxes | Powered by JetHome®