All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scsi: unexport scsi_bus_type
@ 2022-05-23  8:38 Christoph Hellwig
  2022-05-24  3:17 ` Martin K. Petersen
  2022-05-24 18:11 ` Martin K. Petersen
  0 siblings, 2 replies; 3+ messages in thread
From: Christoph Hellwig @ 2022-05-23  8:38 UTC (permalink / raw)
  To: martin.petersen; +Cc: linux-scsi

scsi_bus_type is not used by any code outside of scsi_mod.ko.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/scsi/scsi_sysfs.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/scsi/scsi_sysfs.c b/drivers/scsi/scsi_sysfs.c
index dc6872e352bd4..81b6ca75f395f 100644
--- a/drivers/scsi/scsi_sysfs.c
+++ b/drivers/scsi/scsi_sysfs.c
@@ -560,7 +560,6 @@ struct bus_type scsi_bus_type = {
 	.pm		= &scsi_bus_pm_ops,
 #endif
 };
-EXPORT_SYMBOL_GPL(scsi_bus_type);
 
 int scsi_sysfs_register(void)
 {
-- 
2.30.2


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

* Re: [PATCH] scsi: unexport scsi_bus_type
  2022-05-23  8:38 [PATCH] scsi: unexport scsi_bus_type Christoph Hellwig
@ 2022-05-24  3:17 ` Martin K. Petersen
  2022-05-24 18:11 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2022-05-24  3:17 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: martin.petersen, linux-scsi


Christoph,

> scsi_bus_type is not used by any code outside of scsi_mod.ko.

Applied to 5.19/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

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

* Re: [PATCH] scsi: unexport scsi_bus_type
  2022-05-23  8:38 [PATCH] scsi: unexport scsi_bus_type Christoph Hellwig
  2022-05-24  3:17 ` Martin K. Petersen
@ 2022-05-24 18:11 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2022-05-24 18:11 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: Martin K . Petersen, linux-scsi

On Mon, 23 May 2022 10:38:38 +0200, Christoph Hellwig wrote:

> scsi_bus_type is not used by any code outside of scsi_mod.ko.
> 
> 

Applied to 5.19/scsi-queue, thanks!

[1/1] scsi: unexport scsi_bus_type
      https://git.kernel.org/mkp/scsi/c/7ad36c8b2b80

-- 
Martin K. Petersen	Oracle Linux Engineering

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

end of thread, other threads:[~2022-05-24 18:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-23  8:38 [PATCH] scsi: unexport scsi_bus_type Christoph Hellwig
2022-05-24  3:17 ` Martin K. Petersen
2022-05-24 18:11 ` Martin K. Petersen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.