All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch 01/27] scsi: add __init/__exit macros to ibmvstgt.c
@ 2010-07-20 22:28 akpm
  2010-07-23 15:22 ` Brian King
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2010-07-20 22:28 UTC (permalink / raw)
  To: James.Bottomley
  Cc: linux-scsi, akpm, peterhuewe, James.Bottomley, fujita.tomonori, sfr

From: Peter Huewe <peterhuewe@gmx.de>

Add the __init and __exit macros to the module_init / module_exit
functions from drivers/scsi/ibmvscsi/ibmvstgt.c

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Acked-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: James Bottomley <James.Bottomley@SteelEye.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/scsi/ibmvscsi/ibmvstgt.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -puN drivers/scsi/ibmvscsi/ibmvstgt.c~scsi-add-__init-__exit-macros-to-ibmvstgtc drivers/scsi/ibmvscsi/ibmvstgt.c
--- a/drivers/scsi/ibmvscsi/ibmvstgt.c~scsi-add-__init-__exit-macros-to-ibmvstgtc
+++ a/drivers/scsi/ibmvscsi/ibmvstgt.c
@@ -956,7 +956,7 @@ static struct srp_function_template ibmv
 	.it_nexus_response = ibmvstgt_it_nexus_response,
 };
 
-static int ibmvstgt_init(void)
+static int __init ibmvstgt_init(void)
 {
 	int err = -ENOMEM;
 
@@ -987,7 +987,7 @@ release_transport:
 	return err;
 }
 
-static void ibmvstgt_exit(void)
+static void __exit ibmvstgt_exit(void)
 {
 	printk("Unregister IBM virtual SCSI driver\n");
 
_

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

* Re: [patch 01/27] scsi: add __init/__exit macros to ibmvstgt.c
  2010-07-20 22:28 [patch 01/27] scsi: add __init/__exit macros to ibmvstgt.c akpm
@ 2010-07-23 15:22 ` Brian King
  0 siblings, 0 replies; 2+ messages in thread
From: Brian King @ 2010-07-23 15:22 UTC (permalink / raw)
  To: akpm
  Cc: James.Bottomley, linux-scsi, peterhuewe, James.Bottomley,
	fujita.tomonori, sfr

Acked-by: Brian King <brking@linux.vnet.ibm.com>

On 07/20/2010 05:28 PM, akpm@linux-foundation.org wrote:
> From: Peter Huewe <peterhuewe@gmx.de>
> 
> Add the __init and __exit macros to the module_init / module_exit
> functions from drivers/scsi/ibmvscsi/ibmvstgt.c
> 
> Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
> Acked-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
> Cc: Stephen Rothwell <sfr@canb.auug.org.au>
> Cc: James Bottomley <James.Bottomley@SteelEye.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
> 
>  drivers/scsi/ibmvscsi/ibmvstgt.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff -puN drivers/scsi/ibmvscsi/ibmvstgt.c~scsi-add-__init-__exit-macros-to-ibmvstgtc drivers/scsi/ibmvscsi/ibmvstgt.c
> --- a/drivers/scsi/ibmvscsi/ibmvstgt.c~scsi-add-__init-__exit-macros-to-ibmvstgtc
> +++ a/drivers/scsi/ibmvscsi/ibmvstgt.c
> @@ -956,7 +956,7 @@ static struct srp_function_template ibmv
>  	.it_nexus_response = ibmvstgt_it_nexus_response,
>  };
> 
> -static int ibmvstgt_init(void)
> +static int __init ibmvstgt_init(void)
>  {
>  	int err = -ENOMEM;
> 
> @@ -987,7 +987,7 @@ release_transport:
>  	return err;
>  }
> 
> -static void ibmvstgt_exit(void)
> +static void __exit ibmvstgt_exit(void)
>  {
>  	printk("Unregister IBM virtual SCSI driver\n");
> 
> _
> --
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


-- 
Brian King
Linux on Power Virtualization
IBM Linux Technology Center



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

end of thread, other threads:[~2010-07-23 15:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-20 22:28 [patch 01/27] scsi: add __init/__exit macros to ibmvstgt.c akpm
2010-07-23 15:22 ` Brian King

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.