* [PATCH] scsi: core: Remove dead code export of scsi_device_from_queue
@ 2026-05-30 12:31 Catalin Iacob
2026-05-30 12:46 ` John Paul Adrian Glaubitz
` (2 more replies)
0 siblings, 3 replies; 17+ messages in thread
From: Catalin Iacob @ 2026-05-30 12:31 UTC (permalink / raw)
To: Thomas Bogendoerfer, Madhavan Srinivasan, Michael Ellerman,
Nicholas Piggin, Christophe Leroy (CS GROUP), Yoshinori Sato,
Rich Felker, John Paul Adrian Glaubitz, David S. Miller,
Andreas Larsson, James E.J. Bottomley, Martin K. Petersen,
Jens Axboe
Cc: linux-mips, linux-kernel, linuxppc-dev, linux-sh, sparclinux,
linux-scsi, Catalin Iacob
Commit 1cea5180f2f8 ("block: remove pktcdvd driver") left behind some
CONFIG_CONFIG_CDROM_PKTCDVD* references in defconfigs and around an
export. Remove them.
Signed-off-by: Catalin Iacob <iacobcatalin@gmail.com>
---
Found this incidentally while looking at kernel sources to understand
what pktcdvd is
---
arch/mips/configs/fuloong2e_defconfig | 1 -
arch/mips/configs/ip22_defconfig | 1 -
arch/mips/configs/ip27_defconfig | 1 -
arch/mips/configs/ip30_defconfig | 1 -
arch/mips/configs/jazz_defconfig | 1 -
arch/mips/configs/malta_defconfig | 1 -
arch/mips/configs/malta_kvm_defconfig | 1 -
arch/mips/configs/maltaup_xpa_defconfig | 1 -
arch/mips/configs/rm200_defconfig | 1 -
arch/mips/configs/sb1250_swarm_defconfig | 1 -
arch/powerpc/configs/g5_defconfig | 1 -
arch/powerpc/configs/ppc6xx_defconfig | 1 -
arch/sh/configs/sh2007_defconfig | 1 -
arch/sparc/configs/sparc64_defconfig | 2 --
drivers/scsi/scsi_lib.c | 8 --------
15 files changed, 23 deletions(-)
diff --git a/arch/mips/configs/fuloong2e_defconfig b/arch/mips/configs/fuloong2e_defconfig
index b6fe3c962464..840130a73992 100644
--- a/arch/mips/configs/fuloong2e_defconfig
+++ b/arch/mips/configs/fuloong2e_defconfig
@@ -89,7 +89,6 @@ CONFIG_MTD_CFI_STAA=m
CONFIG_MTD_PHYSMAP=m
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_RAM=m
-CONFIG_CDROM_PKTCDVD=m
CONFIG_ATA_OVER_ETH=m
CONFIG_BLK_DEV_SD=y
CONFIG_BLK_DEV_SR=y
diff --git a/arch/mips/configs/ip22_defconfig b/arch/mips/configs/ip22_defconfig
index e123848f94ab..61f09cc9ac12 100644
--- a/arch/mips/configs/ip22_defconfig
+++ b/arch/mips/configs/ip22_defconfig
@@ -177,7 +177,6 @@ CONFIG_NET_ACT_SIMP=m
CONFIG_NET_ACT_SKBEDIT=m
CONFIG_RFKILL=m
CONFIG_CONNECTOR=m
-CONFIG_CDROM_PKTCDVD=m
CONFIG_ATA_OVER_ETH=m
CONFIG_RAID_ATTRS=m
CONFIG_SCSI=y
diff --git a/arch/mips/configs/ip27_defconfig b/arch/mips/configs/ip27_defconfig
index fea0ccee6948..60da9cf71b72 100644
--- a/arch/mips/configs/ip27_defconfig
+++ b/arch/mips/configs/ip27_defconfig
@@ -83,7 +83,6 @@ CONFIG_CFG80211=m
CONFIG_MAC80211=m
CONFIG_RFKILL=m
CONFIG_BLK_DEV_LOOP=y
-CONFIG_CDROM_PKTCDVD=m
CONFIG_ATA_OVER_ETH=m
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
diff --git a/arch/mips/configs/ip30_defconfig b/arch/mips/configs/ip30_defconfig
index 718f3060d9fa..5c2911ff9a87 100644
--- a/arch/mips/configs/ip30_defconfig
+++ b/arch/mips/configs/ip30_defconfig
@@ -77,7 +77,6 @@ CONFIG_NET_ACT_PEDIT=m
CONFIG_NET_ACT_SKBEDIT=m
# CONFIG_VGA_ARB is not set
CONFIG_BLK_DEV_LOOP=y
-CONFIG_CDROM_PKTCDVD=m
CONFIG_ATA_OVER_ETH=m
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
diff --git a/arch/mips/configs/jazz_defconfig b/arch/mips/configs/jazz_defconfig
index a790c2610fd3..dd3486b8d1fc 100644
--- a/arch/mips/configs/jazz_defconfig
+++ b/arch/mips/configs/jazz_defconfig
@@ -33,7 +33,6 @@ CONFIG_BLK_DEV_FD=m
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_RAM=m
-CONFIG_CDROM_PKTCDVD=m
CONFIG_ATA_OVER_ETH=m
CONFIG_RAID_ATTRS=m
CONFIG_SCSI=y
diff --git a/arch/mips/configs/malta_defconfig b/arch/mips/configs/malta_defconfig
index 81704ec67f09..b10dac71f400 100644
--- a/arch/mips/configs/malta_defconfig
+++ b/arch/mips/configs/malta_defconfig
@@ -224,7 +224,6 @@ CONFIG_BLK_DEV_FD=m
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_RAM=y
-CONFIG_CDROM_PKTCDVD=m
CONFIG_ATA_OVER_ETH=m
CONFIG_RAID_ATTRS=m
CONFIG_BLK_DEV_SD=y
diff --git a/arch/mips/configs/malta_kvm_defconfig b/arch/mips/configs/malta_kvm_defconfig
index 82a97f58bce1..bdd5d99884e3 100644
--- a/arch/mips/configs/malta_kvm_defconfig
+++ b/arch/mips/configs/malta_kvm_defconfig
@@ -228,7 +228,6 @@ CONFIG_BLK_DEV_FD=m
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_RAM=y
-CONFIG_CDROM_PKTCDVD=m
CONFIG_ATA_OVER_ETH=m
CONFIG_RAID_ATTRS=m
CONFIG_BLK_DEV_SD=y
diff --git a/arch/mips/configs/maltaup_xpa_defconfig b/arch/mips/configs/maltaup_xpa_defconfig
index 0f9ef20744f9..523c0ff329ac 100644
--- a/arch/mips/configs/maltaup_xpa_defconfig
+++ b/arch/mips/configs/maltaup_xpa_defconfig
@@ -226,7 +226,6 @@ CONFIG_BLK_DEV_FD=m
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_RAM=y
-CONFIG_CDROM_PKTCDVD=m
CONFIG_ATA_OVER_ETH=m
CONFIG_RAID_ATTRS=m
CONFIG_BLK_DEV_SD=y
diff --git a/arch/mips/configs/rm200_defconfig b/arch/mips/configs/rm200_defconfig
index ad9fbd0cbb38..60054e54bc5a 100644
--- a/arch/mips/configs/rm200_defconfig
+++ b/arch/mips/configs/rm200_defconfig
@@ -177,7 +177,6 @@ CONFIG_PARIDE_ON26=m
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_RAM=m
-CONFIG_CDROM_PKTCDVD=m
CONFIG_ATA_OVER_ETH=m
CONFIG_RAID_ATTRS=m
CONFIG_SCSI=y
diff --git a/arch/mips/configs/sb1250_swarm_defconfig b/arch/mips/configs/sb1250_swarm_defconfig
index 4a25b8d3e507..a50a7c097542 100644
--- a/arch/mips/configs/sb1250_swarm_defconfig
+++ b/arch/mips/configs/sb1250_swarm_defconfig
@@ -43,7 +43,6 @@ CONFIG_FW_LOADER=m
CONFIG_CONNECTOR=m
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=9220
-CONFIG_CDROM_PKTCDVD=m
CONFIG_ATA_OVER_ETH=m
CONFIG_RAID_ATTRS=m
CONFIG_BLK_DEV_SD=y
diff --git a/arch/powerpc/configs/g5_defconfig b/arch/powerpc/configs/g5_defconfig
index 5ca1676e6058..647775f6d174 100644
--- a/arch/powerpc/configs/g5_defconfig
+++ b/arch/powerpc/configs/g5_defconfig
@@ -57,7 +57,6 @@ CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=65536
-CONFIG_CDROM_PKTCDVD=m
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=y
CONFIG_BLK_DEV_SR=y
diff --git a/arch/powerpc/configs/ppc6xx_defconfig b/arch/powerpc/configs/ppc6xx_defconfig
index eda1fec7ffd9..5c3e25fd8edd 100644
--- a/arch/powerpc/configs/ppc6xx_defconfig
+++ b/arch/powerpc/configs/ppc6xx_defconfig
@@ -306,7 +306,6 @@ CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=16384
-CONFIG_CDROM_PKTCDVD=m
CONFIG_VIRTIO_BLK=m
CONFIG_ENCLOSURE_SERVICES=m
CONFIG_SENSORS_TSL2550=m
diff --git a/arch/sh/configs/sh2007_defconfig b/arch/sh/configs/sh2007_defconfig
index 5d9080499485..f287a41cd38c 100644
--- a/arch/sh/configs/sh2007_defconfig
+++ b/arch/sh/configs/sh2007_defconfig
@@ -45,7 +45,6 @@ CONFIG_NETWORK_SECMARK=y
CONFIG_NET_PKTGEN=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_RAM=y
-CONFIG_CDROM_PKTCDVD=y
CONFIG_RAID_ATTRS=y
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
diff --git a/arch/sparc/configs/sparc64_defconfig b/arch/sparc/configs/sparc64_defconfig
index 632081a262ba..4abea39281cd 100644
--- a/arch/sparc/configs/sparc64_defconfig
+++ b/arch/sparc/configs/sparc64_defconfig
@@ -60,8 +60,6 @@ CONFIG_CONNECTOR=m
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_CRYPTOLOOP=m
CONFIG_BLK_DEV_NBD=m
-CONFIG_CDROM_PKTCDVD=m
-CONFIG_CDROM_PKTCDVD_WCACHE=y
CONFIG_ATA_OVER_ETH=m
CONFIG_SUNVDC=m
CONFIG_ATA=y
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index 6e8c7a42603e..f836212c2acf 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -2201,14 +2201,6 @@ struct scsi_device *scsi_device_from_queue(struct request_queue *q)
return sdev;
}
-/*
- * pktcdvd should have been integrated into the SCSI layers, but for historical
- * reasons like the old IDE driver it isn't. This export allows it to safely
- * probe if a given device is a SCSI one and only attach to that.
- */
-#ifdef CONFIG_CDROM_PKTCDVD_MODULE
-EXPORT_SYMBOL_GPL(scsi_device_from_queue);
-#endif
/**
* scsi_block_requests - Utility function used by low-level drivers to prevent
---
base-commit: e7ae89a0c97ce2b68b0983cd01eda67cf373517d
change-id: 20260530-remove-pktcdvd-references-9d5c6362a5de
Best regards,
--
Catalin Iacob <iacobcatalin@gmail.com>
^ permalink raw reply related [flat|nested] 17+ messages in thread* Re: [PATCH] scsi: core: Remove dead code export of scsi_device_from_queue 2026-05-30 12:31 [PATCH] scsi: core: Remove dead code export of scsi_device_from_queue Catalin Iacob @ 2026-05-30 12:46 ` John Paul Adrian Glaubitz 2026-06-03 13:27 ` [PATCH v2] scsi: core: Remove remaining references to the pktcdvd driver Catalin Iacob 2026-06-04 13:20 ` [PATCH v3 0/6] " Catalin Iacob 2 siblings, 0 replies; 17+ messages in thread From: John Paul Adrian Glaubitz @ 2026-05-30 12:46 UTC (permalink / raw) To: Catalin Iacob, Thomas Bogendoerfer, Madhavan Srinivasan, Michael Ellerman, Nicholas Piggin, Christophe Leroy (CS GROUP), Yoshinori Sato, Rich Felker, David S. Miller, Andreas Larsson, James E.J. Bottomley, Martin K. Petersen, Jens Axboe Cc: linux-mips, linux-kernel, linuxppc-dev, linux-sh, sparclinux, linux-scsi Hi Catalin, On Sat, 2026-05-30 at 15:31 +0300, Catalin Iacob wrote: > Commit 1cea5180f2f8 ("block: remove pktcdvd driver") left behind some > CONFIG_CONFIG_CDROM_PKTCDVD* references in defconfigs and around an > export. Remove them. > > Signed-off-by: Catalin Iacob <iacobcatalin@gmail.com> > --- > Found this incidentally while looking at kernel sources to understand > what pktcdvd is > --- > arch/mips/configs/fuloong2e_defconfig | 1 - > arch/mips/configs/ip22_defconfig | 1 - > arch/mips/configs/ip27_defconfig | 1 - > arch/mips/configs/ip30_defconfig | 1 - > arch/mips/configs/jazz_defconfig | 1 - > arch/mips/configs/malta_defconfig | 1 - > arch/mips/configs/malta_kvm_defconfig | 1 - > arch/mips/configs/maltaup_xpa_defconfig | 1 - > arch/mips/configs/rm200_defconfig | 1 - > arch/mips/configs/sb1250_swarm_defconfig | 1 - > arch/powerpc/configs/g5_defconfig | 1 - > arch/powerpc/configs/ppc6xx_defconfig | 1 - > arch/sh/configs/sh2007_defconfig | 1 - > arch/sparc/configs/sparc64_defconfig | 2 -- > drivers/scsi/scsi_lib.c | 8 -------- > 15 files changed, 23 deletions(-) > > diff --git a/arch/mips/configs/fuloong2e_defconfig b/arch/mips/configs/fuloong2e_defconfig > index b6fe3c962464..840130a73992 100644 > --- a/arch/mips/configs/fuloong2e_defconfig > +++ b/arch/mips/configs/fuloong2e_defconfig > @@ -89,7 +89,6 @@ CONFIG_MTD_CFI_STAA=m > CONFIG_MTD_PHYSMAP=m > CONFIG_BLK_DEV_LOOP=y > CONFIG_BLK_DEV_RAM=m > -CONFIG_CDROM_PKTCDVD=m > CONFIG_ATA_OVER_ETH=m > CONFIG_BLK_DEV_SD=y > CONFIG_BLK_DEV_SR=y > diff --git a/arch/mips/configs/ip22_defconfig b/arch/mips/configs/ip22_defconfig > index e123848f94ab..61f09cc9ac12 100644 > --- a/arch/mips/configs/ip22_defconfig > +++ b/arch/mips/configs/ip22_defconfig > @@ -177,7 +177,6 @@ CONFIG_NET_ACT_SIMP=m > CONFIG_NET_ACT_SKBEDIT=m > CONFIG_RFKILL=m > CONFIG_CONNECTOR=m > -CONFIG_CDROM_PKTCDVD=m > CONFIG_ATA_OVER_ETH=m > CONFIG_RAID_ATTRS=m > CONFIG_SCSI=y > diff --git a/arch/mips/configs/ip27_defconfig b/arch/mips/configs/ip27_defconfig > index fea0ccee6948..60da9cf71b72 100644 > --- a/arch/mips/configs/ip27_defconfig > +++ b/arch/mips/configs/ip27_defconfig > @@ -83,7 +83,6 @@ CONFIG_CFG80211=m > CONFIG_MAC80211=m > CONFIG_RFKILL=m > CONFIG_BLK_DEV_LOOP=y > -CONFIG_CDROM_PKTCDVD=m > CONFIG_ATA_OVER_ETH=m > CONFIG_SCSI=y > CONFIG_BLK_DEV_SD=y > diff --git a/arch/mips/configs/ip30_defconfig b/arch/mips/configs/ip30_defconfig > index 718f3060d9fa..5c2911ff9a87 100644 > --- a/arch/mips/configs/ip30_defconfig > +++ b/arch/mips/configs/ip30_defconfig > @@ -77,7 +77,6 @@ CONFIG_NET_ACT_PEDIT=m > CONFIG_NET_ACT_SKBEDIT=m > # CONFIG_VGA_ARB is not set > CONFIG_BLK_DEV_LOOP=y > -CONFIG_CDROM_PKTCDVD=m > CONFIG_ATA_OVER_ETH=m > CONFIG_SCSI=y > CONFIG_BLK_DEV_SD=y > diff --git a/arch/mips/configs/jazz_defconfig b/arch/mips/configs/jazz_defconfig > index a790c2610fd3..dd3486b8d1fc 100644 > --- a/arch/mips/configs/jazz_defconfig > +++ b/arch/mips/configs/jazz_defconfig > @@ -33,7 +33,6 @@ CONFIG_BLK_DEV_FD=m > CONFIG_BLK_DEV_LOOP=m > CONFIG_BLK_DEV_NBD=m > CONFIG_BLK_DEV_RAM=m > -CONFIG_CDROM_PKTCDVD=m > CONFIG_ATA_OVER_ETH=m > CONFIG_RAID_ATTRS=m > CONFIG_SCSI=y > diff --git a/arch/mips/configs/malta_defconfig b/arch/mips/configs/malta_defconfig > index 81704ec67f09..b10dac71f400 100644 > --- a/arch/mips/configs/malta_defconfig > +++ b/arch/mips/configs/malta_defconfig > @@ -224,7 +224,6 @@ CONFIG_BLK_DEV_FD=m > CONFIG_BLK_DEV_LOOP=m > CONFIG_BLK_DEV_NBD=m > CONFIG_BLK_DEV_RAM=y > -CONFIG_CDROM_PKTCDVD=m > CONFIG_ATA_OVER_ETH=m > CONFIG_RAID_ATTRS=m > CONFIG_BLK_DEV_SD=y > diff --git a/arch/mips/configs/malta_kvm_defconfig b/arch/mips/configs/malta_kvm_defconfig > index 82a97f58bce1..bdd5d99884e3 100644 > --- a/arch/mips/configs/malta_kvm_defconfig > +++ b/arch/mips/configs/malta_kvm_defconfig > @@ -228,7 +228,6 @@ CONFIG_BLK_DEV_FD=m > CONFIG_BLK_DEV_LOOP=m > CONFIG_BLK_DEV_NBD=m > CONFIG_BLK_DEV_RAM=y > -CONFIG_CDROM_PKTCDVD=m > CONFIG_ATA_OVER_ETH=m > CONFIG_RAID_ATTRS=m > CONFIG_BLK_DEV_SD=y > diff --git a/arch/mips/configs/maltaup_xpa_defconfig b/arch/mips/configs/maltaup_xpa_defconfig > index 0f9ef20744f9..523c0ff329ac 100644 > --- a/arch/mips/configs/maltaup_xpa_defconfig > +++ b/arch/mips/configs/maltaup_xpa_defconfig > @@ -226,7 +226,6 @@ CONFIG_BLK_DEV_FD=m > CONFIG_BLK_DEV_LOOP=m > CONFIG_BLK_DEV_NBD=m > CONFIG_BLK_DEV_RAM=y > -CONFIG_CDROM_PKTCDVD=m > CONFIG_ATA_OVER_ETH=m > CONFIG_RAID_ATTRS=m > CONFIG_BLK_DEV_SD=y > diff --git a/arch/mips/configs/rm200_defconfig b/arch/mips/configs/rm200_defconfig > index ad9fbd0cbb38..60054e54bc5a 100644 > --- a/arch/mips/configs/rm200_defconfig > +++ b/arch/mips/configs/rm200_defconfig > @@ -177,7 +177,6 @@ CONFIG_PARIDE_ON26=m > CONFIG_BLK_DEV_LOOP=m > CONFIG_BLK_DEV_NBD=m > CONFIG_BLK_DEV_RAM=m > -CONFIG_CDROM_PKTCDVD=m > CONFIG_ATA_OVER_ETH=m > CONFIG_RAID_ATTRS=m > CONFIG_SCSI=y > diff --git a/arch/mips/configs/sb1250_swarm_defconfig b/arch/mips/configs/sb1250_swarm_defconfig > index 4a25b8d3e507..a50a7c097542 100644 > --- a/arch/mips/configs/sb1250_swarm_defconfig > +++ b/arch/mips/configs/sb1250_swarm_defconfig > @@ -43,7 +43,6 @@ CONFIG_FW_LOADER=m > CONFIG_CONNECTOR=m > CONFIG_BLK_DEV_RAM=y > CONFIG_BLK_DEV_RAM_SIZE=9220 > -CONFIG_CDROM_PKTCDVD=m > CONFIG_ATA_OVER_ETH=m > CONFIG_RAID_ATTRS=m > CONFIG_BLK_DEV_SD=y > diff --git a/arch/powerpc/configs/g5_defconfig b/arch/powerpc/configs/g5_defconfig > index 5ca1676e6058..647775f6d174 100644 > --- a/arch/powerpc/configs/g5_defconfig > +++ b/arch/powerpc/configs/g5_defconfig > @@ -57,7 +57,6 @@ CONFIG_BLK_DEV_LOOP=y > CONFIG_BLK_DEV_NBD=m > CONFIG_BLK_DEV_RAM=y > CONFIG_BLK_DEV_RAM_SIZE=65536 > -CONFIG_CDROM_PKTCDVD=m > CONFIG_BLK_DEV_SD=y > CONFIG_CHR_DEV_ST=y > CONFIG_BLK_DEV_SR=y > diff --git a/arch/powerpc/configs/ppc6xx_defconfig b/arch/powerpc/configs/ppc6xx_defconfig > index eda1fec7ffd9..5c3e25fd8edd 100644 > --- a/arch/powerpc/configs/ppc6xx_defconfig > +++ b/arch/powerpc/configs/ppc6xx_defconfig > @@ -306,7 +306,6 @@ CONFIG_BLK_DEV_LOOP=m > CONFIG_BLK_DEV_NBD=m > CONFIG_BLK_DEV_RAM=y > CONFIG_BLK_DEV_RAM_SIZE=16384 > -CONFIG_CDROM_PKTCDVD=m > CONFIG_VIRTIO_BLK=m > CONFIG_ENCLOSURE_SERVICES=m > CONFIG_SENSORS_TSL2550=m > diff --git a/arch/sh/configs/sh2007_defconfig b/arch/sh/configs/sh2007_defconfig > index 5d9080499485..f287a41cd38c 100644 > --- a/arch/sh/configs/sh2007_defconfig > +++ b/arch/sh/configs/sh2007_defconfig > @@ -45,7 +45,6 @@ CONFIG_NETWORK_SECMARK=y > CONFIG_NET_PKTGEN=y > CONFIG_BLK_DEV_LOOP=y > CONFIG_BLK_DEV_RAM=y > -CONFIG_CDROM_PKTCDVD=y > CONFIG_RAID_ATTRS=y > CONFIG_SCSI=y > CONFIG_BLK_DEV_SD=y > diff --git a/arch/sparc/configs/sparc64_defconfig b/arch/sparc/configs/sparc64_defconfig > index 632081a262ba..4abea39281cd 100644 > --- a/arch/sparc/configs/sparc64_defconfig > +++ b/arch/sparc/configs/sparc64_defconfig > @@ -60,8 +60,6 @@ CONFIG_CONNECTOR=m > CONFIG_BLK_DEV_LOOP=m > CONFIG_BLK_DEV_CRYPTOLOOP=m > CONFIG_BLK_DEV_NBD=m > -CONFIG_CDROM_PKTCDVD=m > -CONFIG_CDROM_PKTCDVD_WCACHE=y > CONFIG_ATA_OVER_ETH=m > CONFIG_SUNVDC=m > CONFIG_ATA=y > diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c > index 6e8c7a42603e..f836212c2acf 100644 > --- a/drivers/scsi/scsi_lib.c > +++ b/drivers/scsi/scsi_lib.c > @@ -2201,14 +2201,6 @@ struct scsi_device *scsi_device_from_queue(struct request_queue *q) > > return sdev; > } > -/* > - * pktcdvd should have been integrated into the SCSI layers, but for historical > - * reasons like the old IDE driver it isn't. This export allows it to safely > - * probe if a given device is a SCSI one and only attach to that. > - */ > -#ifdef CONFIG_CDROM_PKTCDVD_MODULE > -EXPORT_SYMBOL_GPL(scsi_device_from_queue); > -#endif > > /** > * scsi_block_requests - Utility function used by low-level drivers to prevent > > --- > base-commit: e7ae89a0c97ce2b68b0983cd01eda67cf373517d > change-id: 20260530-remove-pktcdvd-references-9d5c6362a5de > > Best regards, > -- > Catalin Iacob <iacobcatalin@gmail.com> I think the commit message should rather be: scsi: core: Remove remaining references to CONFIG_CDROM_PKTCDVD or better scsi: core: Remove remaining references to package CD/DVD support Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 ^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH v2] scsi: core: Remove remaining references to the pktcdvd driver 2026-05-30 12:31 [PATCH] scsi: core: Remove dead code export of scsi_device_from_queue Catalin Iacob 2026-05-30 12:46 ` John Paul Adrian Glaubitz @ 2026-06-03 13:27 ` Catalin Iacob 2026-06-03 15:36 ` John Garry 2026-06-03 16:06 ` Bart Van Assche 2026-06-04 13:20 ` [PATCH v3 0/6] " Catalin Iacob 2 siblings, 2 replies; 17+ messages in thread From: Catalin Iacob @ 2026-06-03 13:27 UTC (permalink / raw) To: Thomas Bogendoerfer, Madhavan Srinivasan, Michael Ellerman, Nicholas Piggin, Christophe Leroy (CS GROUP), Rich Felker, John Paul Adrian Glaubitz, David S. Miller, Andreas Larsson, James E.J. Bottomley, Martin K. Petersen, Jens Axboe Cc: linux-mips, linux-kernel, linuxppc-dev, linux-sh, sparclinux, linux-scsi, Catalin Iacob Commit 1cea5180f2f8 ("block: remove pktcdvd driver") left behind some CONFIG_CONFIG_CDROM_PKTCDVD* references in defconfigs and around an export. Remove them. Signed-off-by: Catalin Iacob <iacobcatalin@gmail.com> --- Found this incidentally while looking at kernel sources to understand what pktcdvd is --- Changes in v2: - Reworded commit message on John Paul Adrian's suggestion to be about the removed references not the export symbol - Link to v1: https://patch.msgid.link/20260530-remove-pktcdvd-references-v1-1-aa56941d4315@gmail.com --- arch/mips/configs/fuloong2e_defconfig | 1 - arch/mips/configs/ip22_defconfig | 1 - arch/mips/configs/ip27_defconfig | 1 - arch/mips/configs/ip30_defconfig | 1 - arch/mips/configs/jazz_defconfig | 1 - arch/mips/configs/malta_defconfig | 1 - arch/mips/configs/malta_kvm_defconfig | 1 - arch/mips/configs/maltaup_xpa_defconfig | 1 - arch/mips/configs/rm200_defconfig | 1 - arch/mips/configs/sb1250_swarm_defconfig | 1 - arch/powerpc/configs/g5_defconfig | 1 - arch/powerpc/configs/ppc6xx_defconfig | 1 - arch/sh/configs/sh2007_defconfig | 1 - arch/sparc/configs/sparc64_defconfig | 2 -- drivers/scsi/scsi_lib.c | 8 -------- 15 files changed, 23 deletions(-) diff --git a/arch/mips/configs/fuloong2e_defconfig b/arch/mips/configs/fuloong2e_defconfig index b6fe3c962464..840130a73992 100644 --- a/arch/mips/configs/fuloong2e_defconfig +++ b/arch/mips/configs/fuloong2e_defconfig @@ -89,7 +89,6 @@ CONFIG_MTD_CFI_STAA=m CONFIG_MTD_PHYSMAP=m CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_RAM=m -CONFIG_CDROM_PKTCDVD=m CONFIG_ATA_OVER_ETH=m CONFIG_BLK_DEV_SD=y CONFIG_BLK_DEV_SR=y diff --git a/arch/mips/configs/ip22_defconfig b/arch/mips/configs/ip22_defconfig index e123848f94ab..61f09cc9ac12 100644 --- a/arch/mips/configs/ip22_defconfig +++ b/arch/mips/configs/ip22_defconfig @@ -177,7 +177,6 @@ CONFIG_NET_ACT_SIMP=m CONFIG_NET_ACT_SKBEDIT=m CONFIG_RFKILL=m CONFIG_CONNECTOR=m -CONFIG_CDROM_PKTCDVD=m CONFIG_ATA_OVER_ETH=m CONFIG_RAID_ATTRS=m CONFIG_SCSI=y diff --git a/arch/mips/configs/ip27_defconfig b/arch/mips/configs/ip27_defconfig index fea0ccee6948..60da9cf71b72 100644 --- a/arch/mips/configs/ip27_defconfig +++ b/arch/mips/configs/ip27_defconfig @@ -83,7 +83,6 @@ CONFIG_CFG80211=m CONFIG_MAC80211=m CONFIG_RFKILL=m CONFIG_BLK_DEV_LOOP=y -CONFIG_CDROM_PKTCDVD=m CONFIG_ATA_OVER_ETH=m CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y diff --git a/arch/mips/configs/ip30_defconfig b/arch/mips/configs/ip30_defconfig index 718f3060d9fa..5c2911ff9a87 100644 --- a/arch/mips/configs/ip30_defconfig +++ b/arch/mips/configs/ip30_defconfig @@ -77,7 +77,6 @@ CONFIG_NET_ACT_PEDIT=m CONFIG_NET_ACT_SKBEDIT=m # CONFIG_VGA_ARB is not set CONFIG_BLK_DEV_LOOP=y -CONFIG_CDROM_PKTCDVD=m CONFIG_ATA_OVER_ETH=m CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y diff --git a/arch/mips/configs/jazz_defconfig b/arch/mips/configs/jazz_defconfig index a790c2610fd3..dd3486b8d1fc 100644 --- a/arch/mips/configs/jazz_defconfig +++ b/arch/mips/configs/jazz_defconfig @@ -33,7 +33,6 @@ CONFIG_BLK_DEV_FD=m CONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_NBD=m CONFIG_BLK_DEV_RAM=m -CONFIG_CDROM_PKTCDVD=m CONFIG_ATA_OVER_ETH=m CONFIG_RAID_ATTRS=m CONFIG_SCSI=y diff --git a/arch/mips/configs/malta_defconfig b/arch/mips/configs/malta_defconfig index 81704ec67f09..b10dac71f400 100644 --- a/arch/mips/configs/malta_defconfig +++ b/arch/mips/configs/malta_defconfig @@ -224,7 +224,6 @@ CONFIG_BLK_DEV_FD=m CONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_NBD=m CONFIG_BLK_DEV_RAM=y -CONFIG_CDROM_PKTCDVD=m CONFIG_ATA_OVER_ETH=m CONFIG_RAID_ATTRS=m CONFIG_BLK_DEV_SD=y diff --git a/arch/mips/configs/malta_kvm_defconfig b/arch/mips/configs/malta_kvm_defconfig index 82a97f58bce1..bdd5d99884e3 100644 --- a/arch/mips/configs/malta_kvm_defconfig +++ b/arch/mips/configs/malta_kvm_defconfig @@ -228,7 +228,6 @@ CONFIG_BLK_DEV_FD=m CONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_NBD=m CONFIG_BLK_DEV_RAM=y -CONFIG_CDROM_PKTCDVD=m CONFIG_ATA_OVER_ETH=m CONFIG_RAID_ATTRS=m CONFIG_BLK_DEV_SD=y diff --git a/arch/mips/configs/maltaup_xpa_defconfig b/arch/mips/configs/maltaup_xpa_defconfig index 0f9ef20744f9..523c0ff329ac 100644 --- a/arch/mips/configs/maltaup_xpa_defconfig +++ b/arch/mips/configs/maltaup_xpa_defconfig @@ -226,7 +226,6 @@ CONFIG_BLK_DEV_FD=m CONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_NBD=m CONFIG_BLK_DEV_RAM=y -CONFIG_CDROM_PKTCDVD=m CONFIG_ATA_OVER_ETH=m CONFIG_RAID_ATTRS=m CONFIG_BLK_DEV_SD=y diff --git a/arch/mips/configs/rm200_defconfig b/arch/mips/configs/rm200_defconfig index ad9fbd0cbb38..60054e54bc5a 100644 --- a/arch/mips/configs/rm200_defconfig +++ b/arch/mips/configs/rm200_defconfig @@ -177,7 +177,6 @@ CONFIG_PARIDE_ON26=m CONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_NBD=m CONFIG_BLK_DEV_RAM=m -CONFIG_CDROM_PKTCDVD=m CONFIG_ATA_OVER_ETH=m CONFIG_RAID_ATTRS=m CONFIG_SCSI=y diff --git a/arch/mips/configs/sb1250_swarm_defconfig b/arch/mips/configs/sb1250_swarm_defconfig index 4a25b8d3e507..a50a7c097542 100644 --- a/arch/mips/configs/sb1250_swarm_defconfig +++ b/arch/mips/configs/sb1250_swarm_defconfig @@ -43,7 +43,6 @@ CONFIG_FW_LOADER=m CONFIG_CONNECTOR=m CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_SIZE=9220 -CONFIG_CDROM_PKTCDVD=m CONFIG_ATA_OVER_ETH=m CONFIG_RAID_ATTRS=m CONFIG_BLK_DEV_SD=y diff --git a/arch/powerpc/configs/g5_defconfig b/arch/powerpc/configs/g5_defconfig index 5ca1676e6058..647775f6d174 100644 --- a/arch/powerpc/configs/g5_defconfig +++ b/arch/powerpc/configs/g5_defconfig @@ -57,7 +57,6 @@ CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_NBD=m CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_SIZE=65536 -CONFIG_CDROM_PKTCDVD=m CONFIG_BLK_DEV_SD=y CONFIG_CHR_DEV_ST=y CONFIG_BLK_DEV_SR=y diff --git a/arch/powerpc/configs/ppc6xx_defconfig b/arch/powerpc/configs/ppc6xx_defconfig index eda1fec7ffd9..5c3e25fd8edd 100644 --- a/arch/powerpc/configs/ppc6xx_defconfig +++ b/arch/powerpc/configs/ppc6xx_defconfig @@ -306,7 +306,6 @@ CONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_NBD=m CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_SIZE=16384 -CONFIG_CDROM_PKTCDVD=m CONFIG_VIRTIO_BLK=m CONFIG_ENCLOSURE_SERVICES=m CONFIG_SENSORS_TSL2550=m diff --git a/arch/sh/configs/sh2007_defconfig b/arch/sh/configs/sh2007_defconfig index 5d9080499485..f287a41cd38c 100644 --- a/arch/sh/configs/sh2007_defconfig +++ b/arch/sh/configs/sh2007_defconfig @@ -45,7 +45,6 @@ CONFIG_NETWORK_SECMARK=y CONFIG_NET_PKTGEN=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_RAM=y -CONFIG_CDROM_PKTCDVD=y CONFIG_RAID_ATTRS=y CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y diff --git a/arch/sparc/configs/sparc64_defconfig b/arch/sparc/configs/sparc64_defconfig index 632081a262ba..4abea39281cd 100644 --- a/arch/sparc/configs/sparc64_defconfig +++ b/arch/sparc/configs/sparc64_defconfig @@ -60,8 +60,6 @@ CONFIG_CONNECTOR=m CONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_CRYPTOLOOP=m CONFIG_BLK_DEV_NBD=m -CONFIG_CDROM_PKTCDVD=m -CONFIG_CDROM_PKTCDVD_WCACHE=y CONFIG_ATA_OVER_ETH=m CONFIG_SUNVDC=m CONFIG_ATA=y diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 85eef401925a..b67f0dc79499 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -2224,14 +2224,6 @@ struct scsi_device *scsi_device_from_queue(struct request_queue *q) return sdev; } -/* - * pktcdvd should have been integrated into the SCSI layers, but for historical - * reasons like the old IDE driver it isn't. This export allows it to safely - * probe if a given device is a SCSI one and only attach to that. - */ -#ifdef CONFIG_CDROM_PKTCDVD_MODULE -EXPORT_SYMBOL_GPL(scsi_device_from_queue); -#endif /** * scsi_block_requests - Utility function used by low-level drivers to prevent --- base-commit: e43ffb69e0438cddd72aaa30898b4dc446f664f8 change-id: 20260530-remove-pktcdvd-references-9d5c6362a5de Best regards, -- Catalin Iacob <iacobcatalin@gmail.com> ^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [PATCH v2] scsi: core: Remove remaining references to the pktcdvd driver 2026-06-03 13:27 ` [PATCH v2] scsi: core: Remove remaining references to the pktcdvd driver Catalin Iacob @ 2026-06-03 15:36 ` John Garry 2026-06-03 16:06 ` Bart Van Assche 1 sibling, 0 replies; 17+ messages in thread From: John Garry @ 2026-06-03 15:36 UTC (permalink / raw) To: Catalin Iacob, Thomas Bogendoerfer, Madhavan Srinivasan, Michael Ellerman, Nicholas Piggin, Christophe Leroy (CS GROUP), Rich Felker, John Paul Adrian Glaubitz, David S. Miller, Andreas Larsson, James E.J. Bottomley, Martin K. Petersen, Jens Axboe Cc: linux-mips, linux-kernel, linuxppc-dev, linux-sh, sparclinux, linux-scsi On 03/06/2026 14:27, Catalin Iacob wrote: > Commit 1cea5180f2f8 ("block: remove pktcdvd driver") left behind some > CONFIG_CONFIG_CDROM_PKTCDVD* references in defconfigs and around an > export. Remove them. > > Signed-off-by: Catalin Iacob<iacobcatalin@gmail.com> > --- > Found this incidentally while looking at kernel sources to understand > what pktcdvd is > --- > Changes in v2: > - Reworded commit message on John Paul Adrian's suggestion to be about > the removed references not the export symbol > - Link to v1:https://patch.msgid.link/20260530-remove-pktcdvd-references-v1-1- > aa56941d4315@gmail.com > --- > arch/mips/configs/fuloong2e_defconfig | 1 - > arch/mips/configs/ip22_defconfig | 1 - > arch/mips/configs/ip27_defconfig | 1 - > arch/mips/configs/ip30_defconfig | 1 - > arch/mips/configs/jazz_defconfig | 1 - > arch/mips/configs/malta_defconfig | 1 - > arch/mips/configs/malta_kvm_defconfig | 1 - > arch/mips/configs/maltaup_xpa_defconfig | 1 - > arch/mips/configs/rm200_defconfig | 1 - > arch/mips/configs/sb1250_swarm_defconfig | 1 - > arch/powerpc/configs/g5_defconfig | 1 - > arch/powerpc/configs/ppc6xx_defconfig | 1 - > arch/sh/configs/sh2007_defconfig | 1 - > arch/sparc/configs/sparc64_defconfig | 2 -- Obviously none of the changes above are related to scsi core, so they can be made separately > drivers/scsi/scsi_lib.c | 8 -------- > 15 files changed, 23 deletions(-) > diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c > index 85eef401925a..b67f0dc79499 100644 > --- a/drivers/scsi/scsi_lib.c > +++ b/drivers/scsi/scsi_lib.c > @@ -2224,14 +2224,6 @@ struct scsi_device *scsi_device_from_queue(struct request_queue *q) > > return sdev; > } > -/* > - * pktcdvd should have been integrated into the SCSI layers, but for historical > - * reasons like the old IDE driver it isn't. This export allows it to safely > - * probe if a given device is a SCSI one and only attach to that. > - */ > -#ifdef CONFIG_CDROM_PKTCDVD_MODULE > -EXPORT_SYMBOL_GPL(scsi_device_from_queue); > -#endif > I also think that the prototype of scsi_device_from_queue can be relocated from include/scsi/scsi_device.h to drivers/scsi/scsi_priv.h > /** > * scsi_block_requests - Utility function used by low-level drivers to prevent ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v2] scsi: core: Remove remaining references to the pktcdvd driver 2026-06-03 13:27 ` [PATCH v2] scsi: core: Remove remaining references to the pktcdvd driver Catalin Iacob 2026-06-03 15:36 ` John Garry @ 2026-06-03 16:06 ` Bart Van Assche 1 sibling, 0 replies; 17+ messages in thread From: Bart Van Assche @ 2026-06-03 16:06 UTC (permalink / raw) To: Catalin Iacob, Thomas Bogendoerfer, Madhavan Srinivasan, Michael Ellerman, Nicholas Piggin, Christophe Leroy (CS GROUP), Rich Felker, John Paul Adrian Glaubitz, David S. Miller, Andreas Larsson, James E.J. Bottomley, Martin K. Petersen, Jens Axboe Cc: linux-mips, linux-kernel, linuxppc-dev, linux-sh, sparclinux, linux-scsi On 6/3/26 6:27 AM, Catalin Iacob wrote: > Commit 1cea5180f2f8 ("block: remove pktcdvd driver") left behind some > CONFIG_CONFIG_CDROM_PKTCDVD* references in defconfigs and around an > export. Remove them. > > Signed-off-by: Catalin Iacob <iacobcatalin@gmail.com> > --- > Found this incidentally while looking at kernel sources to understand > what pktcdvd is > --- > Changes in v2: > - Reworded commit message on John Paul Adrian's suggestion to be about > the removed references not the export symbol > - Link to v1: https://patch.msgid.link/20260530-remove-pktcdvd-references-v1-1-aa56941d4315@gmail.com > --- > arch/mips/configs/fuloong2e_defconfig | 1 - > arch/mips/configs/ip22_defconfig | 1 - > arch/mips/configs/ip27_defconfig | 1 - > arch/mips/configs/ip30_defconfig | 1 - > arch/mips/configs/jazz_defconfig | 1 - > arch/mips/configs/malta_defconfig | 1 - > arch/mips/configs/malta_kvm_defconfig | 1 - > arch/mips/configs/maltaup_xpa_defconfig | 1 - > arch/mips/configs/rm200_defconfig | 1 - > arch/mips/configs/sb1250_swarm_defconfig | 1 - > arch/powerpc/configs/g5_defconfig | 1 - > arch/powerpc/configs/ppc6xx_defconfig | 1 - > arch/sh/configs/sh2007_defconfig | 1 - > arch/sparc/configs/sparc64_defconfig | 2 -- > drivers/scsi/scsi_lib.c | 8 -------- > 15 files changed, 23 deletions(-) Shouldn't this be split into two patches - one for the defconfig files and a second patch for the SCSI core? Thanks, Bart. ^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH v3 0/6] Remove remaining references to the pktcdvd driver 2026-05-30 12:31 [PATCH] scsi: core: Remove dead code export of scsi_device_from_queue Catalin Iacob 2026-05-30 12:46 ` John Paul Adrian Glaubitz 2026-06-03 13:27 ` [PATCH v2] scsi: core: Remove remaining references to the pktcdvd driver Catalin Iacob @ 2026-06-04 13:20 ` Catalin Iacob 2026-06-04 13:20 ` [PATCH v3 1/6] scsi: core: Remove remaining reference " Catalin Iacob ` (6 more replies) 2 siblings, 7 replies; 17+ messages in thread From: Catalin Iacob @ 2026-06-04 13:20 UTC (permalink / raw) To: Thomas Bogendoerfer, Madhavan Srinivasan, Michael Ellerman, Nicholas Piggin, Christophe Leroy (CS GROUP), Rich Felker, John Paul Adrian Glaubitz, David S. Miller, Andreas Larsson, James E.J. Bottomley, Martin K. Petersen, Jens Axboe, Yoshinori Sato Cc: linux-mips, linux-kernel, linuxppc-dev, linux-sh, sparclinux, linux-scsi, Catalin Iacob Found this incidentally while looking at kernel sources to understand what pktcdvd is Signed-off-by: Catalin Iacob <iacobcatalin@gmail.com> --- Changes in v3: - Split the defconfig changes in one patch per arch - Add patch to move the declaration of scsi_device_from_queue to the private header as suggested by John - Link to v2: https://patch.msgid.link/20260603-remove-pktcdvd-references-v2-1-c4402154d53a@gmail.com Changes in v2: - Reworded commit message on John Paul Adrian's suggestion to be about the removed references not the export symbol - Link to v1: https://patch.msgid.link/20260530-remove-pktcdvd-references-v1-1-aa56941d4315@gmail.com To: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com> To: "Martin K. Petersen" <martin.petersen@oracle.com> To: Thomas Bogendoerfer <tsbogend@alpha.franken.de> To: Madhavan Srinivasan <maddy@linux.ibm.com> To: Michael Ellerman <mpe@ellerman.id.au> To: Nicholas Piggin <npiggin@gmail.com> To: "Christophe Leroy (CS GROUP)" <chleroy@kernel.org> To: Yoshinori Sato <ysato@users.sourceforge.jp> To: Rich Felker <dalias@libc.org> To: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> To: "David S. Miller" <davem@davemloft.net> To: Andreas Larsson <andreas@gaisler.com> Cc: linux-scsi@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-mips@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-sh@vger.kernel.org Cc: sparclinux@vger.kernel.org --- Catalin Iacob (6): scsi: core: Remove remaining reference to the pktcdvd driver scsi: core: Move scsi_device_from_queue() to scsi_priv.h mips: Remove remaining defconfig references to the pktcdvd driver powerpc: Remove remaining defconfig references to the pktcdvd driver sh: Remove remaining defconfig reference to the pktcdvd driver sparc: Remove remaining defconfig references to the pktcdvd driver arch/mips/configs/fuloong2e_defconfig | 1 - arch/mips/configs/ip22_defconfig | 1 - arch/mips/configs/ip27_defconfig | 1 - arch/mips/configs/ip30_defconfig | 1 - arch/mips/configs/jazz_defconfig | 1 - arch/mips/configs/malta_defconfig | 1 - arch/mips/configs/malta_kvm_defconfig | 1 - arch/mips/configs/maltaup_xpa_defconfig | 1 - arch/mips/configs/rm200_defconfig | 1 - arch/mips/configs/sb1250_swarm_defconfig | 1 - arch/powerpc/configs/g5_defconfig | 1 - arch/powerpc/configs/ppc6xx_defconfig | 1 - arch/sh/configs/sh2007_defconfig | 1 - arch/sparc/configs/sparc64_defconfig | 2 -- drivers/scsi/scsi_lib.c | 8 -------- drivers/scsi/scsi_priv.h | 1 + include/scsi/scsi_device.h | 1 - 17 files changed, 1 insertion(+), 24 deletions(-) --- base-commit: e43ffb69e0438cddd72aaa30898b4dc446f664f8 change-id: 20260530-remove-pktcdvd-references-9d5c6362a5de Best regards, -- Catalin Iacob <iacobcatalin@gmail.com> ^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH v3 1/6] scsi: core: Remove remaining reference to the pktcdvd driver 2026-06-04 13:20 ` [PATCH v3 0/6] " Catalin Iacob @ 2026-06-04 13:20 ` Catalin Iacob 2026-06-04 15:51 ` Bart Van Assche 2026-06-04 13:20 ` [PATCH v3 2/6] scsi: core: Move scsi_device_from_queue() to scsi_priv.h Catalin Iacob ` (5 subsequent siblings) 6 siblings, 1 reply; 17+ messages in thread From: Catalin Iacob @ 2026-06-04 13:20 UTC (permalink / raw) To: Thomas Bogendoerfer, Madhavan Srinivasan, Michael Ellerman, Nicholas Piggin, Christophe Leroy (CS GROUP), Rich Felker, John Paul Adrian Glaubitz, David S. Miller, Andreas Larsson, James E.J. Bottomley, Martin K. Petersen, Jens Axboe, Yoshinori Sato Cc: linux-mips, linux-kernel, linuxppc-dev, linux-sh, sparclinux, linux-scsi, Catalin Iacob Commit 1cea5180f2f8 ("block: remove pktcdvd driver") left behind an export that is now dead code. Remove it. Signed-off-by: Catalin Iacob <iacobcatalin@gmail.com> --- drivers/scsi/scsi_lib.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 85eef401925a..b67f0dc79499 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -2224,14 +2224,6 @@ struct scsi_device *scsi_device_from_queue(struct request_queue *q) return sdev; } -/* - * pktcdvd should have been integrated into the SCSI layers, but for historical - * reasons like the old IDE driver it isn't. This export allows it to safely - * probe if a given device is a SCSI one and only attach to that. - */ -#ifdef CONFIG_CDROM_PKTCDVD_MODULE -EXPORT_SYMBOL_GPL(scsi_device_from_queue); -#endif /** * scsi_block_requests - Utility function used by low-level drivers to prevent -- 2.54.0 ^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [PATCH v3 1/6] scsi: core: Remove remaining reference to the pktcdvd driver 2026-06-04 13:20 ` [PATCH v3 1/6] scsi: core: Remove remaining reference " Catalin Iacob @ 2026-06-04 15:51 ` Bart Van Assche 0 siblings, 0 replies; 17+ messages in thread From: Bart Van Assche @ 2026-06-04 15:51 UTC (permalink / raw) To: Catalin Iacob, Thomas Bogendoerfer, Madhavan Srinivasan, Michael Ellerman, Nicholas Piggin, Christophe Leroy (CS GROUP), Rich Felker, John Paul Adrian Glaubitz, David S. Miller, Andreas Larsson, James E.J. Bottomley, Martin K. Petersen, Jens Axboe, Yoshinori Sato Cc: linux-mips, linux-kernel, linuxppc-dev, linux-sh, sparclinux, linux-scsi On 6/4/26 6:20 AM, Catalin Iacob wrote: > Commit 1cea5180f2f8 ("block: remove pktcdvd driver") left behind an > export that is now dead code. Remove it. The subject should say something like "Unexport scsi_device_from_queue()". Thanks, Bart. ^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH v3 2/6] scsi: core: Move scsi_device_from_queue() to scsi_priv.h 2026-06-04 13:20 ` [PATCH v3 0/6] " Catalin Iacob 2026-06-04 13:20 ` [PATCH v3 1/6] scsi: core: Remove remaining reference " Catalin Iacob @ 2026-06-04 13:20 ` Catalin Iacob 2026-06-04 15:51 ` Bart Van Assche 2026-06-04 13:20 ` [PATCH v3 3/6] mips: Remove remaining defconfig references to the pktcdvd driver Catalin Iacob ` (4 subsequent siblings) 6 siblings, 1 reply; 17+ messages in thread From: Catalin Iacob @ 2026-06-04 13:20 UTC (permalink / raw) To: Thomas Bogendoerfer, Madhavan Srinivasan, Michael Ellerman, Nicholas Piggin, Christophe Leroy (CS GROUP), Rich Felker, John Paul Adrian Glaubitz, David S. Miller, Andreas Larsson, James E.J. Bottomley, Martin K. Petersen, Jens Axboe, Yoshinori Sato Cc: linux-mips, linux-kernel, linuxppc-dev, linux-sh, sparclinux, linux-scsi, Catalin Iacob scsi_device_from_queue() is only referenced in drivers/scsi so move its prototype to drivers/scsi/scsi_priv.h. Signed-off-by: Catalin Iacob <iacobcatalin@gmail.com> --- drivers/scsi/scsi_priv.h | 1 + include/scsi/scsi_device.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/scsi_priv.h b/drivers/scsi/scsi_priv.h index 7a193cc04e5b..37e5601be2b8 100644 --- a/drivers/scsi/scsi_priv.h +++ b/drivers/scsi/scsi_priv.h @@ -102,6 +102,7 @@ void scsi_eh_done(struct scsi_cmnd *scmd); /* scsi_lib.c */ extern void scsi_device_unbusy(struct scsi_device *sdev, struct scsi_cmnd *cmd); +extern struct scsi_device *scsi_device_from_queue(struct request_queue *q); extern void scsi_queue_insert(struct scsi_cmnd *cmd, enum scsi_qc_status reason); extern void scsi_io_completion(struct scsi_cmnd *, unsigned int); diff --git a/include/scsi/scsi_device.h b/include/scsi/scsi_device.h index 9c2a7bbe5891..9f716497a959 100644 --- a/include/scsi/scsi_device.h +++ b/include/scsi/scsi_device.h @@ -407,7 +407,6 @@ void scsi_attach_vpd(struct scsi_device *sdev); void scsi_cdl_check(struct scsi_device *sdev); int scsi_cdl_enable(struct scsi_device *sdev, bool enable); -extern struct scsi_device *scsi_device_from_queue(struct request_queue *q); extern int __must_check scsi_device_get(struct scsi_device *); extern void scsi_device_put(struct scsi_device *); extern struct scsi_device *scsi_device_lookup(struct Scsi_Host *, -- 2.54.0 ^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [PATCH v3 2/6] scsi: core: Move scsi_device_from_queue() to scsi_priv.h 2026-06-04 13:20 ` [PATCH v3 2/6] scsi: core: Move scsi_device_from_queue() to scsi_priv.h Catalin Iacob @ 2026-06-04 15:51 ` Bart Van Assche 0 siblings, 0 replies; 17+ messages in thread From: Bart Van Assche @ 2026-06-04 15:51 UTC (permalink / raw) To: Catalin Iacob, Thomas Bogendoerfer, Madhavan Srinivasan, Michael Ellerman, Nicholas Piggin, Christophe Leroy (CS GROUP), Rich Felker, John Paul Adrian Glaubitz, David S. Miller, Andreas Larsson, James E.J. Bottomley, Martin K. Petersen, Jens Axboe, Yoshinori Sato Cc: linux-mips, linux-kernel, linuxppc-dev, linux-sh, sparclinux, linux-scsi On 6/4/26 6:20 AM, Catalin Iacob wrote: > scsi_device_from_queue() is only referenced in drivers/scsi so move its > prototype to drivers/scsi/scsi_priv.h. The subject of this patch suggests that the implementation of the scsi_device_from_queue() function is moved while only the declaration is moved. Thanks, Bart. ^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH v3 3/6] mips: Remove remaining defconfig references to the pktcdvd driver 2026-06-04 13:20 ` [PATCH v3 0/6] " Catalin Iacob 2026-06-04 13:20 ` [PATCH v3 1/6] scsi: core: Remove remaining reference " Catalin Iacob 2026-06-04 13:20 ` [PATCH v3 2/6] scsi: core: Move scsi_device_from_queue() to scsi_priv.h Catalin Iacob @ 2026-06-04 13:20 ` Catalin Iacob 2026-06-04 13:20 ` [PATCH v3 4/6] powerpc: " Catalin Iacob ` (3 subsequent siblings) 6 siblings, 0 replies; 17+ messages in thread From: Catalin Iacob @ 2026-06-04 13:20 UTC (permalink / raw) To: Thomas Bogendoerfer, Madhavan Srinivasan, Michael Ellerman, Nicholas Piggin, Christophe Leroy (CS GROUP), Rich Felker, John Paul Adrian Glaubitz, David S. Miller, Andreas Larsson, James E.J. Bottomley, Martin K. Petersen, Jens Axboe, Yoshinori Sato Cc: linux-mips, linux-kernel, linuxppc-dev, linux-sh, sparclinux, linux-scsi, Catalin Iacob Commit 1cea5180f2f8 ("block: remove pktcdvd driver") left behind some CONFIG_CONFIG_CDROM_PKTCDVD references in defconfigs. Remove them. Signed-off-by: Catalin Iacob <iacobcatalin@gmail.com> --- arch/mips/configs/fuloong2e_defconfig | 1 - arch/mips/configs/ip22_defconfig | 1 - arch/mips/configs/ip27_defconfig | 1 - arch/mips/configs/ip30_defconfig | 1 - arch/mips/configs/jazz_defconfig | 1 - arch/mips/configs/malta_defconfig | 1 - arch/mips/configs/malta_kvm_defconfig | 1 - arch/mips/configs/maltaup_xpa_defconfig | 1 - arch/mips/configs/rm200_defconfig | 1 - arch/mips/configs/sb1250_swarm_defconfig | 1 - 10 files changed, 10 deletions(-) diff --git a/arch/mips/configs/fuloong2e_defconfig b/arch/mips/configs/fuloong2e_defconfig index b6fe3c962464..840130a73992 100644 --- a/arch/mips/configs/fuloong2e_defconfig +++ b/arch/mips/configs/fuloong2e_defconfig @@ -89,7 +89,6 @@ CONFIG_MTD_CFI_STAA=m CONFIG_MTD_PHYSMAP=m CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_RAM=m -CONFIG_CDROM_PKTCDVD=m CONFIG_ATA_OVER_ETH=m CONFIG_BLK_DEV_SD=y CONFIG_BLK_DEV_SR=y diff --git a/arch/mips/configs/ip22_defconfig b/arch/mips/configs/ip22_defconfig index e123848f94ab..61f09cc9ac12 100644 --- a/arch/mips/configs/ip22_defconfig +++ b/arch/mips/configs/ip22_defconfig @@ -177,7 +177,6 @@ CONFIG_NET_ACT_SIMP=m CONFIG_NET_ACT_SKBEDIT=m CONFIG_RFKILL=m CONFIG_CONNECTOR=m -CONFIG_CDROM_PKTCDVD=m CONFIG_ATA_OVER_ETH=m CONFIG_RAID_ATTRS=m CONFIG_SCSI=y diff --git a/arch/mips/configs/ip27_defconfig b/arch/mips/configs/ip27_defconfig index fea0ccee6948..60da9cf71b72 100644 --- a/arch/mips/configs/ip27_defconfig +++ b/arch/mips/configs/ip27_defconfig @@ -83,7 +83,6 @@ CONFIG_CFG80211=m CONFIG_MAC80211=m CONFIG_RFKILL=m CONFIG_BLK_DEV_LOOP=y -CONFIG_CDROM_PKTCDVD=m CONFIG_ATA_OVER_ETH=m CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y diff --git a/arch/mips/configs/ip30_defconfig b/arch/mips/configs/ip30_defconfig index 718f3060d9fa..5c2911ff9a87 100644 --- a/arch/mips/configs/ip30_defconfig +++ b/arch/mips/configs/ip30_defconfig @@ -77,7 +77,6 @@ CONFIG_NET_ACT_PEDIT=m CONFIG_NET_ACT_SKBEDIT=m # CONFIG_VGA_ARB is not set CONFIG_BLK_DEV_LOOP=y -CONFIG_CDROM_PKTCDVD=m CONFIG_ATA_OVER_ETH=m CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y diff --git a/arch/mips/configs/jazz_defconfig b/arch/mips/configs/jazz_defconfig index a790c2610fd3..dd3486b8d1fc 100644 --- a/arch/mips/configs/jazz_defconfig +++ b/arch/mips/configs/jazz_defconfig @@ -33,7 +33,6 @@ CONFIG_BLK_DEV_FD=m CONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_NBD=m CONFIG_BLK_DEV_RAM=m -CONFIG_CDROM_PKTCDVD=m CONFIG_ATA_OVER_ETH=m CONFIG_RAID_ATTRS=m CONFIG_SCSI=y diff --git a/arch/mips/configs/malta_defconfig b/arch/mips/configs/malta_defconfig index 81704ec67f09..b10dac71f400 100644 --- a/arch/mips/configs/malta_defconfig +++ b/arch/mips/configs/malta_defconfig @@ -224,7 +224,6 @@ CONFIG_BLK_DEV_FD=m CONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_NBD=m CONFIG_BLK_DEV_RAM=y -CONFIG_CDROM_PKTCDVD=m CONFIG_ATA_OVER_ETH=m CONFIG_RAID_ATTRS=m CONFIG_BLK_DEV_SD=y diff --git a/arch/mips/configs/malta_kvm_defconfig b/arch/mips/configs/malta_kvm_defconfig index 82a97f58bce1..bdd5d99884e3 100644 --- a/arch/mips/configs/malta_kvm_defconfig +++ b/arch/mips/configs/malta_kvm_defconfig @@ -228,7 +228,6 @@ CONFIG_BLK_DEV_FD=m CONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_NBD=m CONFIG_BLK_DEV_RAM=y -CONFIG_CDROM_PKTCDVD=m CONFIG_ATA_OVER_ETH=m CONFIG_RAID_ATTRS=m CONFIG_BLK_DEV_SD=y diff --git a/arch/mips/configs/maltaup_xpa_defconfig b/arch/mips/configs/maltaup_xpa_defconfig index 0f9ef20744f9..523c0ff329ac 100644 --- a/arch/mips/configs/maltaup_xpa_defconfig +++ b/arch/mips/configs/maltaup_xpa_defconfig @@ -226,7 +226,6 @@ CONFIG_BLK_DEV_FD=m CONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_NBD=m CONFIG_BLK_DEV_RAM=y -CONFIG_CDROM_PKTCDVD=m CONFIG_ATA_OVER_ETH=m CONFIG_RAID_ATTRS=m CONFIG_BLK_DEV_SD=y diff --git a/arch/mips/configs/rm200_defconfig b/arch/mips/configs/rm200_defconfig index ad9fbd0cbb38..60054e54bc5a 100644 --- a/arch/mips/configs/rm200_defconfig +++ b/arch/mips/configs/rm200_defconfig @@ -177,7 +177,6 @@ CONFIG_PARIDE_ON26=m CONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_NBD=m CONFIG_BLK_DEV_RAM=m -CONFIG_CDROM_PKTCDVD=m CONFIG_ATA_OVER_ETH=m CONFIG_RAID_ATTRS=m CONFIG_SCSI=y diff --git a/arch/mips/configs/sb1250_swarm_defconfig b/arch/mips/configs/sb1250_swarm_defconfig index 4a25b8d3e507..a50a7c097542 100644 --- a/arch/mips/configs/sb1250_swarm_defconfig +++ b/arch/mips/configs/sb1250_swarm_defconfig @@ -43,7 +43,6 @@ CONFIG_FW_LOADER=m CONFIG_CONNECTOR=m CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_SIZE=9220 -CONFIG_CDROM_PKTCDVD=m CONFIG_ATA_OVER_ETH=m CONFIG_RAID_ATTRS=m CONFIG_BLK_DEV_SD=y -- 2.54.0 ^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH v3 4/6] powerpc: Remove remaining defconfig references to the pktcdvd driver 2026-06-04 13:20 ` [PATCH v3 0/6] " Catalin Iacob ` (2 preceding siblings ...) 2026-06-04 13:20 ` [PATCH v3 3/6] mips: Remove remaining defconfig references to the pktcdvd driver Catalin Iacob @ 2026-06-04 13:20 ` Catalin Iacob 2026-06-04 13:20 ` [PATCH v3 5/6] sh: Remove remaining defconfig reference " Catalin Iacob ` (2 subsequent siblings) 6 siblings, 0 replies; 17+ messages in thread From: Catalin Iacob @ 2026-06-04 13:20 UTC (permalink / raw) To: Thomas Bogendoerfer, Madhavan Srinivasan, Michael Ellerman, Nicholas Piggin, Christophe Leroy (CS GROUP), Rich Felker, John Paul Adrian Glaubitz, David S. Miller, Andreas Larsson, James E.J. Bottomley, Martin K. Petersen, Jens Axboe, Yoshinori Sato Cc: linux-mips, linux-kernel, linuxppc-dev, linux-sh, sparclinux, linux-scsi, Catalin Iacob Commit 1cea5180f2f8 ("block: remove pktcdvd driver") left behind some CONFIG_CONFIG_CDROM_PKTCDVD references in defconfigs. Remove them. Signed-off-by: Catalin Iacob <iacobcatalin@gmail.com> --- arch/powerpc/configs/g5_defconfig | 1 - arch/powerpc/configs/ppc6xx_defconfig | 1 - 2 files changed, 2 deletions(-) diff --git a/arch/powerpc/configs/g5_defconfig b/arch/powerpc/configs/g5_defconfig index 5ca1676e6058..647775f6d174 100644 --- a/arch/powerpc/configs/g5_defconfig +++ b/arch/powerpc/configs/g5_defconfig @@ -57,7 +57,6 @@ CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_NBD=m CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_SIZE=65536 -CONFIG_CDROM_PKTCDVD=m CONFIG_BLK_DEV_SD=y CONFIG_CHR_DEV_ST=y CONFIG_BLK_DEV_SR=y diff --git a/arch/powerpc/configs/ppc6xx_defconfig b/arch/powerpc/configs/ppc6xx_defconfig index eda1fec7ffd9..5c3e25fd8edd 100644 --- a/arch/powerpc/configs/ppc6xx_defconfig +++ b/arch/powerpc/configs/ppc6xx_defconfig @@ -306,7 +306,6 @@ CONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_NBD=m CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_SIZE=16384 -CONFIG_CDROM_PKTCDVD=m CONFIG_VIRTIO_BLK=m CONFIG_ENCLOSURE_SERVICES=m CONFIG_SENSORS_TSL2550=m -- 2.54.0 ^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH v3 5/6] sh: Remove remaining defconfig reference to the pktcdvd driver 2026-06-04 13:20 ` [PATCH v3 0/6] " Catalin Iacob ` (3 preceding siblings ...) 2026-06-04 13:20 ` [PATCH v3 4/6] powerpc: " Catalin Iacob @ 2026-06-04 13:20 ` Catalin Iacob 2026-06-04 13:20 ` [PATCH v3 6/6] sparc: Remove remaining defconfig references " Catalin Iacob 2026-06-04 15:50 ` [PATCH v3 0/6] Remove remaining " Bart Van Assche 6 siblings, 0 replies; 17+ messages in thread From: Catalin Iacob @ 2026-06-04 13:20 UTC (permalink / raw) To: Thomas Bogendoerfer, Madhavan Srinivasan, Michael Ellerman, Nicholas Piggin, Christophe Leroy (CS GROUP), Rich Felker, John Paul Adrian Glaubitz, David S. Miller, Andreas Larsson, James E.J. Bottomley, Martin K. Petersen, Jens Axboe, Yoshinori Sato Cc: linux-mips, linux-kernel, linuxppc-dev, linux-sh, sparclinux, linux-scsi, Catalin Iacob Commit 1cea5180f2f8 ("block: remove pktcdvd driver") left behind a CONFIG_CONFIG_CDROM_PKTCDVD reference in defconfigs. Remove it. Signed-off-by: Catalin Iacob <iacobcatalin@gmail.com> --- arch/sh/configs/sh2007_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/sh/configs/sh2007_defconfig b/arch/sh/configs/sh2007_defconfig index 5d9080499485..f287a41cd38c 100644 --- a/arch/sh/configs/sh2007_defconfig +++ b/arch/sh/configs/sh2007_defconfig @@ -45,7 +45,6 @@ CONFIG_NETWORK_SECMARK=y CONFIG_NET_PKTGEN=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_RAM=y -CONFIG_CDROM_PKTCDVD=y CONFIG_RAID_ATTRS=y CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y -- 2.54.0 ^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH v3 6/6] sparc: Remove remaining defconfig references to the pktcdvd driver 2026-06-04 13:20 ` [PATCH v3 0/6] " Catalin Iacob ` (4 preceding siblings ...) 2026-06-04 13:20 ` [PATCH v3 5/6] sh: Remove remaining defconfig reference " Catalin Iacob @ 2026-06-04 13:20 ` Catalin Iacob 2026-06-04 15:50 ` [PATCH v3 0/6] Remove remaining " Bart Van Assche 6 siblings, 0 replies; 17+ messages in thread From: Catalin Iacob @ 2026-06-04 13:20 UTC (permalink / raw) To: Thomas Bogendoerfer, Madhavan Srinivasan, Michael Ellerman, Nicholas Piggin, Christophe Leroy (CS GROUP), Rich Felker, John Paul Adrian Glaubitz, David S. Miller, Andreas Larsson, James E.J. Bottomley, Martin K. Petersen, Jens Axboe, Yoshinori Sato Cc: linux-mips, linux-kernel, linuxppc-dev, linux-sh, sparclinux, linux-scsi, Catalin Iacob Commit 1cea5180f2f8 ("block: remove pktcdvd driver") left behind some CONFIG_CONFIG_CDROM_PKTCDVD* references in defconfigs. Remove them. Signed-off-by: Catalin Iacob <iacobcatalin@gmail.com> --- arch/sparc/configs/sparc64_defconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/sparc/configs/sparc64_defconfig b/arch/sparc/configs/sparc64_defconfig index 632081a262ba..4abea39281cd 100644 --- a/arch/sparc/configs/sparc64_defconfig +++ b/arch/sparc/configs/sparc64_defconfig @@ -60,8 +60,6 @@ CONFIG_CONNECTOR=m CONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_CRYPTOLOOP=m CONFIG_BLK_DEV_NBD=m -CONFIG_CDROM_PKTCDVD=m -CONFIG_CDROM_PKTCDVD_WCACHE=y CONFIG_ATA_OVER_ETH=m CONFIG_SUNVDC=m CONFIG_ATA=y -- 2.54.0 ^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [PATCH v3 0/6] Remove remaining references to the pktcdvd driver 2026-06-04 13:20 ` [PATCH v3 0/6] " Catalin Iacob ` (5 preceding siblings ...) 2026-06-04 13:20 ` [PATCH v3 6/6] sparc: Remove remaining defconfig references " Catalin Iacob @ 2026-06-04 15:50 ` Bart Van Assche 2026-06-04 20:59 ` Catalin Iacob 6 siblings, 1 reply; 17+ messages in thread From: Bart Van Assche @ 2026-06-04 15:50 UTC (permalink / raw) To: Catalin Iacob, Thomas Bogendoerfer, Madhavan Srinivasan, Michael Ellerman, Nicholas Piggin, Christophe Leroy (CS GROUP), Rich Felker, John Paul Adrian Glaubitz, David S. Miller, Andreas Larsson, James E.J. Bottomley, Martin K. Petersen, Jens Axboe, Yoshinori Sato Cc: linux-mips, linux-kernel, linuxppc-dev, linux-sh, sparclinux, linux-scsi On 6/4/26 6:20 AM, Catalin Iacob wrote: > Found this incidentally while looking at kernel sources to understand > what pktcdvd is If this series is reposted, please combine patches 1/6 and 2/6. Anyway, this series looks good to me. Thanks, Bart. ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v3 0/6] Remove remaining references to the pktcdvd driver 2026-06-04 15:50 ` [PATCH v3 0/6] Remove remaining " Bart Van Assche @ 2026-06-04 20:59 ` Catalin Iacob 2026-06-04 21:17 ` Bart Van Assche 0 siblings, 1 reply; 17+ messages in thread From: Catalin Iacob @ 2026-06-04 20:59 UTC (permalink / raw) To: Bart Van Assche Cc: Thomas Bogendoerfer, Madhavan Srinivasan, Michael Ellerman, Nicholas Piggin, Christophe Leroy (CS GROUP), Rich Felker, John Paul Adrian Glaubitz, David S. Miller, Andreas Larsson, James E.J. Bottomley, Martin K. Petersen, Jens Axboe, Yoshinori Sato, linux-mips, linux-kernel, linuxppc-dev, linux-sh, sparclinux, linux-scsi On Thu, Jun 04, 2026 at 08:50:22AM -0700, Bart Van Assche wrote: > If this series is reposted, please combine patches 1/6 and 2/6. Anyway, > this series looks good to me. Thanks for taking a look. I will repost in a few days when back to a computer to fix the subject of patch 2 since you are right, it does wrongly suggest that the implementation is moved. For learning purposes, do you mind quickly sharing your rationale for combining 1 and 2? To me they are in the same area but still separate things: one removes dead code, the other increases encapsulation. Each is a small but worthwhile cleanup, they can be applied in any order and each can be applied without the other. It's true that, while patch 2 without patch 1 works, it would increase confusion but I find that an argument to order 2 after 1, not to say they are one thing. I'd also find it hard to describe what that combined patch does except by calling out two things: "remove dead code and move the declaration". Your suggested "unexport" seems more confusing than clarifying, I'd argue that today the symbol is not exported since that ifdef always compiles the export out. ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v3 0/6] Remove remaining references to the pktcdvd driver 2026-06-04 20:59 ` Catalin Iacob @ 2026-06-04 21:17 ` Bart Van Assche 0 siblings, 0 replies; 17+ messages in thread From: Bart Van Assche @ 2026-06-04 21:17 UTC (permalink / raw) To: Catalin Iacob Cc: Thomas Bogendoerfer, Madhavan Srinivasan, Michael Ellerman, Nicholas Piggin, Christophe Leroy (CS GROUP), Rich Felker, John Paul Adrian Glaubitz, David S. Miller, Andreas Larsson, James E.J. Bottomley, Martin K. Petersen, Jens Axboe, Yoshinori Sato, linux-mips, linux-kernel, linuxppc-dev, linux-sh, sparclinux, linux-scsi On 6/4/26 1:59 PM, Catalin Iacob wrote: > For learning purposes, do you mind quickly sharing your rationale for > combining 1 and 2? To me they are in the same area but still separate > things: one removes dead code, the other increases encapsulation. Each > is a small but worthwhile cleanup, they can be applied in any order and > each can be applied without the other. It's true that, while patch 2 > without patch 1 works, it would increase confusion but I find that an > argument to order 2 after 1, not to say they are one thing. > > I'd also find it hard to describe what that combined patch does except > by calling out two things: "remove dead code and move the declaration". > Your suggested "unexport" seems more confusing than clarifying, I'd > argue that today the symbol is not exported since that ifdef always > compiles the export out. "Unexport" is commonly used terminology in the Linux kernel for removing EXPORT_SYMBOL*(). I proposed to combine patches 1 and 2 because it is normal that the declaration of a function is moved from a public to a private header file if it is unexported. If patches 1 and 2 are combined, the most important change is removal of EXPORT_SYMBOL_GPL(). So I think that "Unexport scsi_device_from_queue()" would still be an appropriate description for such a patch. Thanks, Bart. ^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2026-06-04 21:17 UTC | newest] Thread overview: 17+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-05-30 12:31 [PATCH] scsi: core: Remove dead code export of scsi_device_from_queue Catalin Iacob 2026-05-30 12:46 ` John Paul Adrian Glaubitz 2026-06-03 13:27 ` [PATCH v2] scsi: core: Remove remaining references to the pktcdvd driver Catalin Iacob 2026-06-03 15:36 ` John Garry 2026-06-03 16:06 ` Bart Van Assche 2026-06-04 13:20 ` [PATCH v3 0/6] " Catalin Iacob 2026-06-04 13:20 ` [PATCH v3 1/6] scsi: core: Remove remaining reference " Catalin Iacob 2026-06-04 15:51 ` Bart Van Assche 2026-06-04 13:20 ` [PATCH v3 2/6] scsi: core: Move scsi_device_from_queue() to scsi_priv.h Catalin Iacob 2026-06-04 15:51 ` Bart Van Assche 2026-06-04 13:20 ` [PATCH v3 3/6] mips: Remove remaining defconfig references to the pktcdvd driver Catalin Iacob 2026-06-04 13:20 ` [PATCH v3 4/6] powerpc: " Catalin Iacob 2026-06-04 13:20 ` [PATCH v3 5/6] sh: Remove remaining defconfig reference " Catalin Iacob 2026-06-04 13:20 ` [PATCH v3 6/6] sparc: Remove remaining defconfig references " Catalin Iacob 2026-06-04 15:50 ` [PATCH v3 0/6] Remove remaining " Bart Van Assche 2026-06-04 20:59 ` Catalin Iacob 2026-06-04 21:17 ` 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