+ char-impi-adding-__init-macro-fix-of-__exit-macro-location-in-ipmi_poweroffc.patch added to -mm tree

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

 



The patch titled
     char/impi: add __init macro/ fix of __exit macro location in ipmi_poweroff.c
has been added to the -mm tree.  Its filename is
     char-impi-adding-__init-macro-fix-of-__exit-macro-location-in-ipmi_poweroffc.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: char/impi: add __init macro/ fix of __exit macro location in ipmi_poweroff.c
From: Peter Huewe <peterhuewe@xxxxxx>

Add the __init to the module_init function of
drivers/char/ipmi/ipmy_poweroff.c and corrects the location of __exit for
the cleanup function.

Signed-off-by: Peter Huewe <peterhuewe@xxxxxx>
Cc: Corey Minyard <minyard@xxxxxxx>
Cc: Jiri Kosina <jkosina@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/char/ipmi/ipmi_poweroff.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -puN drivers/char/ipmi/ipmi_poweroff.c~char-impi-adding-__init-macro-fix-of-__exit-macro-location-in-ipmi_poweroffc drivers/char/ipmi/ipmi_poweroff.c
--- a/drivers/char/ipmi/ipmi_poweroff.c~char-impi-adding-__init-macro-fix-of-__exit-macro-location-in-ipmi_poweroffc
+++ a/drivers/char/ipmi/ipmi_poweroff.c
@@ -691,7 +691,7 @@ static struct ctl_table_header *ipmi_tab
 /*
  * Startup and shutdown functions.
  */
-static int ipmi_poweroff_init(void)
+static int __init ipmi_poweroff_init(void)
 {
 	int rv;
 
@@ -725,7 +725,7 @@ static int ipmi_poweroff_init(void)
 }
 
 #ifdef MODULE
-static __exit void ipmi_poweroff_cleanup(void)
+static void __exit ipmi_poweroff_cleanup(void)
 {
 	int rv;
 
_

Patches currently in -mm which might be from peterhuewe@xxxxxx are

linux-next.patch
scsi-add-__init-__exit-macros-to-ibmvstgtc.patch
char-impi-adding-__init-macro-fix-of-__exit-macro-location-in-ipmi_poweroffc.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux