* [PATCH 0/2] Fix recently introduced build failures
@ 2024-08-05 23:20 Bart Van Assche
2024-08-05 23:20 ` [PATCH 1/2] ARM: riscpc: ecard: Fix the build Bart Van Assche
2024-08-05 23:20 ` [PATCH 2/2] mips: sgi-ip22: " Bart Van Assche
0 siblings, 2 replies; 5+ messages in thread
From: Bart Van Assche @ 2024-08-05 23:20 UTC (permalink / raw)
To: Martin K . Petersen; +Cc: linux-scsi, Bart Van Assche
Hi Martin,
During the merge window a patch was merged that changed the type of an
argument of bus_type.match. That patch converts most but not all SCSI
code. Hence this patch series that converts the remaining SCSI drivers.
Please consider this patch series for the v6.11 kernel.
Thanks,
Bart.
Bart Van Assche (2):
ARM: riscpc: ecard: Fix the build
mips: sgi-ip22: Fix the build
arch/arm/mach-rpc/ecard.c | 2 +-
arch/mips/sgi-ip22/ip22-gio.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] ARM: riscpc: ecard: Fix the build
2024-08-05 23:20 [PATCH 0/2] Fix recently introduced build failures Bart Van Assche
@ 2024-08-05 23:20 ` Bart Van Assche
2024-08-05 23:20 ` [PATCH 2/2] mips: sgi-ip22: " Bart Van Assche
1 sibling, 0 replies; 5+ messages in thread
From: Bart Van Assche @ 2024-08-05 23:20 UTC (permalink / raw)
To: Martin K . Petersen
Cc: linux-scsi, Bart Van Assche, Greg Kroah-Hartman, Russell King,
Russell King, Sumit Garg, Alex Elder
Fix a recently introduced build failure.
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Russell King <rmk+kernel@armlinux.org.uk>
Fixes: d69d80484598 ("driver core: have match() callback in struct bus_type take a const *")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
---
arch/arm/mach-rpc/ecard.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-rpc/ecard.c b/arch/arm/mach-rpc/ecard.c
index c30df1097c52..9f7454b8efa7 100644
--- a/arch/arm/mach-rpc/ecard.c
+++ b/arch/arm/mach-rpc/ecard.c
@@ -1109,7 +1109,7 @@ void ecard_remove_driver(struct ecard_driver *drv)
driver_unregister(&drv->drv);
}
-static int ecard_match(struct device *_dev, struct device_driver *_drv)
+static int ecard_match(struct device *_dev, const struct device_driver *_drv)
{
struct expansion_card *ec = ECARD_DEV(_dev);
struct ecard_driver *drv = ECARD_DRV(_drv);
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] mips: sgi-ip22: Fix the build
2024-08-05 23:20 [PATCH 0/2] Fix recently introduced build failures Bart Van Assche
2024-08-05 23:20 ` [PATCH 1/2] ARM: riscpc: ecard: Fix the build Bart Van Assche
@ 2024-08-05 23:20 ` Bart Van Assche
2024-08-06 6:57 ` Greg Kroah-Hartman
1 sibling, 1 reply; 5+ messages in thread
From: Bart Van Assche @ 2024-08-05 23:20 UTC (permalink / raw)
To: Martin K . Petersen
Cc: linux-scsi, Bart Van Assche, Greg Kroah-Hartman,
Thomas Bogendoerfer, Genjian Zhang, Ricardo B. Marliere,
Sumit Garg, Alex Elder
Fix a recently introduced build failure.
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Fixes: d69d80484598 ("driver core: have match() callback in struct bus_type take a const *")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
---
arch/mips/sgi-ip22/ip22-gio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/sgi-ip22/ip22-gio.c b/arch/mips/sgi-ip22/ip22-gio.c
index 2738325e98dd..d20eec742bfa 100644
--- a/arch/mips/sgi-ip22/ip22-gio.c
+++ b/arch/mips/sgi-ip22/ip22-gio.c
@@ -111,7 +111,7 @@ void gio_device_unregister(struct gio_device *giodev)
}
EXPORT_SYMBOL_GPL(gio_device_unregister);
-static int gio_bus_match(struct device *dev, struct device_driver *drv)
+static int gio_bus_match(struct device *dev, const struct device_driver *drv)
{
struct gio_device *gio_dev = to_gio_device(dev);
struct gio_driver *gio_drv = to_gio_driver(drv);
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] mips: sgi-ip22: Fix the build
2024-08-05 23:20 ` [PATCH 2/2] mips: sgi-ip22: " Bart Van Assche
@ 2024-08-06 6:57 ` Greg Kroah-Hartman
2024-08-06 20:56 ` Bart Van Assche
0 siblings, 1 reply; 5+ messages in thread
From: Greg Kroah-Hartman @ 2024-08-06 6:57 UTC (permalink / raw)
To: Bart Van Assche
Cc: Martin K . Petersen, linux-scsi, Thomas Bogendoerfer,
Genjian Zhang, Ricardo B. Marliere, Sumit Garg, Alex Elder
On Mon, Aug 05, 2024 at 04:20:21PM -0700, Bart Van Assche wrote:
> Fix a recently introduced build failure.
>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Fixes: d69d80484598 ("driver core: have match() callback in struct bus_type take a const *")
> Signed-off-by: Bart Van Assche <bvanassche@acm.org>
> ---
> arch/mips/sgi-ip22/ip22-gio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Thanks for this, and the other, fix, I'll queue them up to my local
trees soon. Odd that these two targets do not seem to get any testing
in that I never was able to see them in the 0-day or other testing bots
out there. How did you find them?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] mips: sgi-ip22: Fix the build
2024-08-06 6:57 ` Greg Kroah-Hartman
@ 2024-08-06 20:56 ` Bart Van Assche
0 siblings, 0 replies; 5+ messages in thread
From: Bart Van Assche @ 2024-08-06 20:56 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Martin K . Petersen, linux-scsi, Thomas Bogendoerfer,
Genjian Zhang, Ricardo B. Marliere, Sumit Garg, Alex Elder
On 8/5/24 11:57 PM, Greg Kroah-Hartman wrote:
> On Mon, Aug 05, 2024 at 04:20:21PM -0700, Bart Van Assche wrote:
>> Fix a recently introduced build failure.
>>
>> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
>> Fixes: d69d80484598 ("driver core: have match() callback in struct bus_type take a const *")
>> Signed-off-by: Bart Van Assche <bvanassche@acm.org>
>> ---
>> arch/mips/sgi-ip22/ip22-gio.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>
> Thanks for this, and the other, fix, I'll queue them up to my local
> trees soon. Odd that these two targets do not seem to get any testing
> in that I never was able to see them in the 0-day or other testing bots
> out there. How did you find them?
Some time ago, while making changes in the SCSI core, I noticed that it
is very hard to build all SCSI drivers manually. That is why I wrote a
shell script to cross-compile all SCSI drivers. That script is available
here:
https://github.com/bvanassche/build-scsi-drivers/blob/main/build-scsi-drivers
Thanks,
Bart.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-08-06 20:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-05 23:20 [PATCH 0/2] Fix recently introduced build failures Bart Van Assche
2024-08-05 23:20 ` [PATCH 1/2] ARM: riscpc: ecard: Fix the build Bart Van Assche
2024-08-05 23:20 ` [PATCH 2/2] mips: sgi-ip22: " Bart Van Assche
2024-08-06 6:57 ` Greg Kroah-Hartman
2024-08-06 20:56 ` Bart Van Assche
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox