mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] scsi: csiostor: drop driver owner assignment
@ 2024-03-27 17:49 Krzysztof Kozlowski
  2024-03-27 17:49 ` [PATCH 2/2] scsi: qla2xxx: " Krzysztof Kozlowski
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-27 17:49 UTC (permalink / raw)
  To: James E.J. Bottomley, Martin K. Petersen, Nilesh Javali,
	GR-QLogic-Storage-Upstream, linux-scsi, linux-kernel
  Cc: Krzysztof Kozlowski

PCI core in pci_register_driver() already sets the .owner, so driver
does not need to.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/scsi/csiostor/csio_init.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/scsi/csiostor/csio_init.c b/drivers/scsi/csiostor/csio_init.c
index d649b7a2a879..9a3f2ed050bd 100644
--- a/drivers/scsi/csiostor/csio_init.c
+++ b/drivers/scsi/csiostor/csio_init.c
@@ -1185,9 +1185,6 @@ static struct pci_error_handlers csio_err_handler = {
 
 static struct pci_driver csio_pci_driver = {
 	.name		= KBUILD_MODNAME,
-	.driver		= {
-		.owner	= THIS_MODULE,
-	},
 	.id_table	= csio_pci_tbl,
 	.probe		= csio_probe_one,
 	.remove		= csio_remove_one,
-- 
2.34.1


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

* [PATCH 2/2] scsi: qla2xxx: drop driver owner assignment
  2024-03-27 17:49 [PATCH 1/2] scsi: csiostor: drop driver owner assignment Krzysztof Kozlowski
@ 2024-03-27 17:49 ` Krzysztof Kozlowski
  2024-04-06  0:53 ` [PATCH 1/2] scsi: csiostor: " Martin K. Petersen
  2024-04-09  3:08 ` Martin K. Petersen
  2 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-27 17:49 UTC (permalink / raw)
  To: James E.J. Bottomley, Martin K. Petersen, Nilesh Javali,
	GR-QLogic-Storage-Upstream, linux-scsi, linux-kernel
  Cc: Krzysztof Kozlowski

PCI core in pci_register_driver() already sets the .owner, so driver
does not need to.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/scsi/qla2xxx/qla_os.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index 1e2f52210f60..6a1900e96a5a 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -8156,9 +8156,6 @@ MODULE_DEVICE_TABLE(pci, qla2xxx_pci_tbl);
 
 static struct pci_driver qla2xxx_pci_driver = {
 	.name		= QLA2XXX_DRIVER_NAME,
-	.driver		= {
-		.owner		= THIS_MODULE,
-	},
 	.id_table	= qla2xxx_pci_tbl,
 	.probe		= qla2x00_probe_one,
 	.remove		= qla2x00_remove_one,
-- 
2.34.1


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

* Re: [PATCH 1/2] scsi: csiostor: drop driver owner assignment
  2024-03-27 17:49 [PATCH 1/2] scsi: csiostor: drop driver owner assignment Krzysztof Kozlowski
  2024-03-27 17:49 ` [PATCH 2/2] scsi: qla2xxx: " Krzysztof Kozlowski
@ 2024-04-06  0:53 ` Martin K. Petersen
  2024-04-09  3:08 ` Martin K. Petersen
  2 siblings, 0 replies; 4+ messages in thread
From: Martin K. Petersen @ 2024-04-06  0:53 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: James E.J. Bottomley, Martin K. Petersen, Nilesh Javali,
	GR-QLogic-Storage-Upstream, linux-scsi, linux-kernel


Krzysztof,

> PCI core in pci_register_driver() already sets the .owner, so driver
> does not need to.

Applied to 6.10/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

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

* Re: [PATCH 1/2] scsi: csiostor: drop driver owner assignment
  2024-03-27 17:49 [PATCH 1/2] scsi: csiostor: drop driver owner assignment Krzysztof Kozlowski
  2024-03-27 17:49 ` [PATCH 2/2] scsi: qla2xxx: " Krzysztof Kozlowski
  2024-04-06  0:53 ` [PATCH 1/2] scsi: csiostor: " Martin K. Petersen
@ 2024-04-09  3:08 ` Martin K. Petersen
  2 siblings, 0 replies; 4+ messages in thread
From: Martin K. Petersen @ 2024-04-09  3:08 UTC (permalink / raw)
  To: James E.J. Bottomley, Nilesh Javali, GR-QLogic-Storage-Upstream,
	linux-scsi, linux-kernel, Krzysztof Kozlowski
  Cc: Martin K . Petersen

On Wed, 27 Mar 2024 18:49:20 +0100, Krzysztof Kozlowski wrote:

> PCI core in pci_register_driver() already sets the .owner, so driver
> does not need to.
> 
> 

Applied to 6.10/scsi-queue, thanks!

[1/2] scsi: csiostor: drop driver owner assignment
      https://git.kernel.org/mkp/scsi/c/ca0e1b9afbc9
[2/2] scsi: qla2xxx: drop driver owner assignment
      https://git.kernel.org/mkp/scsi/c/4e64bbba5352

-- 
Martin K. Petersen	Oracle Linux Engineering

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

end of thread, other threads:[~2024-04-09  3:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-27 17:49 [PATCH 1/2] scsi: csiostor: drop driver owner assignment Krzysztof Kozlowski
2024-03-27 17:49 ` [PATCH 2/2] scsi: qla2xxx: " Krzysztof Kozlowski
2024-04-06  0:53 ` [PATCH 1/2] scsi: csiostor: " Martin K. Petersen
2024-04-09  3:08 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®