Patch "IB/rdmavt: Add __init/__exit annotations to module init/exit funcs" has been added to the 5.10-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    IB/rdmavt: Add __init/__exit annotations to module init/exit funcs

to the 5.10-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     ib-rdmavt-add-__init-__exit-annotations-to-module-in.patch
and it can be found in the queue-5.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 03fcf6a87ec290029fff7ebb86862056af9c901d
Author: Xiu Jianfeng <xiujianfeng@xxxxxxxxxx>
Date:   Sat Sep 24 17:14:57 2022 +0800

    IB/rdmavt: Add __init/__exit annotations to module init/exit funcs
    
    [ Upstream commit 78657a445ca7603024348781c921f8ecaee10a49 ]
    
    Add missing __init/__exit annotations to module init/exit funcs.
    
    Fixes: 0194621b2253 ("IB/rdmavt: Create module framework and handle driver registration")
    Link: https://lore.kernel.org/r/20220924091457.52446-1-xiujianfeng@xxxxxxxxxx
    Signed-off-by: Xiu Jianfeng <xiujianfeng@xxxxxxxxxx>
    Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/infiniband/sw/rdmavt/vt.c b/drivers/infiniband/sw/rdmavt/vt.c
index d1bbe66610cf..f2734809812d 100644
--- a/drivers/infiniband/sw/rdmavt/vt.c
+++ b/drivers/infiniband/sw/rdmavt/vt.c
@@ -57,7 +57,7 @@
 MODULE_LICENSE("Dual BSD/GPL");
 MODULE_DESCRIPTION("RDMA Verbs Transport Library");
 
-static int rvt_init(void)
+static int __init rvt_init(void)
 {
 	int ret = rvt_driver_cq_init();
 
@@ -68,7 +68,7 @@ static int rvt_init(void)
 }
 module_init(rvt_init);
 
-static void rvt_cleanup(void)
+static void __exit rvt_cleanup(void)
 {
 	rvt_cq_exit();
 }



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux