[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250809093507.372430-1-abinashsinghlalotra@gmail.com>
Date: Sat, 9 Aug 2025 15:05:05 +0530
From: Abinash Singh <abinashsinghlalotra@...il.com>
To: abinashsinghlalotra@...il.com
Cc: James.Bottomley@...senPartnership.com,
bvanassche@....org,
dlemoal@...nel.org,
linux-kernel@...r.kernel.org,
linux-scsi@...r.kernel.org,
martin.petersen@...cle.com,
kernel test robot <lkp@...el.com>
Subject: [PATCH v6 0/2] scsi: sd: Fix build warning in sd_revalidate_disk()
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@...el.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
Powered by blists - more mailing lists