* [PATCH -next] scsi: arcmsr: Add __init and __exit for arcmsr_module_{init,exit}
@ 2023-08-04 2:29 Xiang Yang
2023-08-21 20:28 ` Martin K. Petersen
2023-08-25 1:12 ` Martin K. Petersen
0 siblings, 2 replies; 3+ messages in thread
From: Xiang Yang @ 2023-08-04 2:29 UTC (permalink / raw)
To: jejb, martin.petersen; +Cc: linux-scsi, xiangyang3
Add __init and __exit for arcmsr_module_{init,exit}
Signed-off-by: Xiang Yang <xiangyang3@huawei.com>
---
drivers/scsi/arcmsr/arcmsr_hba.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c
index 2cd12c7f06c6..a66221c3b72f 100644
--- a/drivers/scsi/arcmsr/arcmsr_hba.c
+++ b/drivers/scsi/arcmsr/arcmsr_hba.c
@@ -1715,14 +1715,14 @@ static void arcmsr_shutdown(struct pci_dev *pdev)
arcmsr_flush_adapter_cache(acb);
}
-static int arcmsr_module_init(void)
+static int __init arcmsr_module_init(void)
{
int error = 0;
error = pci_register_driver(&arcmsr_pci_driver);
return error;
}
-static void arcmsr_module_exit(void)
+static void __exit arcmsr_module_exit(void)
{
pci_unregister_driver(&arcmsr_pci_driver);
}
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH -next] scsi: arcmsr: Add __init and __exit for arcmsr_module_{init,exit}
2023-08-04 2:29 [PATCH -next] scsi: arcmsr: Add __init and __exit for arcmsr_module_{init,exit} Xiang Yang
@ 2023-08-21 20:28 ` Martin K. Petersen
2023-08-25 1:12 ` Martin K. Petersen
1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2023-08-21 20:28 UTC (permalink / raw)
To: Xiang Yang; +Cc: jejb, martin.petersen, linux-scsi
Xiang,
> Add __init and __exit for arcmsr_module_{init,exit}
Applied to 6.6/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -next] scsi: arcmsr: Add __init and __exit for arcmsr_module_{init,exit}
2023-08-04 2:29 [PATCH -next] scsi: arcmsr: Add __init and __exit for arcmsr_module_{init,exit} Xiang Yang
2023-08-21 20:28 ` Martin K. Petersen
@ 2023-08-25 1:12 ` Martin K. Petersen
1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2023-08-25 1:12 UTC (permalink / raw)
To: jejb, Xiang Yang; +Cc: Martin K . Petersen, linux-scsi
On Fri, 04 Aug 2023 10:29:13 +0800, Xiang Yang wrote:
> Add __init and __exit for arcmsr_module_{init,exit}
>
>
Applied to 6.6/scsi-queue, thanks!
[1/1] scsi: arcmsr: Add __init and __exit for arcmsr_module_{init,exit}
https://git.kernel.org/mkp/scsi/c/e9b525b6ccbf
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-08-25 1:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-04 2:29 [PATCH -next] scsi: arcmsr: Add __init and __exit for arcmsr_module_{init,exit} Xiang Yang
2023-08-21 20:28 ` Martin K. Petersen
2023-08-25 1:12 ` 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.