From: John Garry <john.g.garry@oracle.com>
To: Catalin Iacob <iacobcatalin@gmail.com>,
Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
Madhavan Srinivasan <maddy@linux.ibm.com>,
Michael Ellerman <mpe@ellerman.id.au>,
Nicholas Piggin <npiggin@gmail.com>,
"Christophe Leroy (CS GROUP)" <chleroy@kernel.org>,
Rich Felker <dalias@libc.org>,
John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>,
"David S. Miller" <davem@davemloft.net>,
Andreas Larsson <andreas@gaisler.com>,
"James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>,
Jens Axboe <axboe@kernel.dk>
Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org,
linuxppc-dev@lists.ozlabs.org, linux-sh@vger.kernel.org,
sparclinux@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: Re: [PATCH v2] scsi: core: Remove remaining references to the pktcdvd driver
Date: Wed, 3 Jun 2026 16:36:16 +0100 [thread overview]
Message-ID: <ff3229e1-94ec-4cb8-8597-0cd978dc158e@oracle.com> (raw)
In-Reply-To: <20260603-remove-pktcdvd-references-v2-1-c4402154d53a@gmail.com>
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
next prev parent reply other threads:[~2026-06-03 15:37 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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-05 7:30 ` Geert Uytterhoeven
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
2026-06-08 14:29 ` [PATCH v4 0/5] " Catalin Iacob
2026-06-08 14:29 ` [PATCH v4 1/5] scsi: core: Remove export for scsi_device_from_queue() Catalin Iacob
2026-06-08 14:29 ` [PATCH v4 2/5] mips: Remove remaining defconfig references to the pktcdvd driver Catalin Iacob
2026-06-08 14:29 ` [PATCH v4 3/5] powerpc: " Catalin Iacob
2026-06-08 14:29 ` [PATCH v4 4/5] sh: Remove remaining defconfig reference " Catalin Iacob
2026-06-08 14:29 ` [PATCH v4 5/5] sparc: Remove remaining defconfig references " Catalin Iacob
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ff3229e1-94ec-4cb8-8597-0cd978dc158e@oracle.com \
--to=john.g.garry@oracle.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=andreas@gaisler.com \
--cc=axboe@kernel.dk \
--cc=chleroy@kernel.org \
--cc=dalias@libc.org \
--cc=davem@davemloft.net \
--cc=glaubitz@physik.fu-berlin.de \
--cc=iacobcatalin@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=maddy@linux.ibm.com \
--cc=martin.petersen@oracle.com \
--cc=mpe@ellerman.id.au \
--cc=npiggin@gmail.com \
--cc=sparclinux@vger.kernel.org \
--cc=tsbogend@alpha.franken.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox