public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] drivers/scsi/megaraid/megaraid_sas.c: make 2 functions static
@ 2006-11-20  2:23 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2006-11-20  2:23 UTC (permalink / raw)
  To: Sumant Patro; +Cc: Neela.Kolli, James.Bottomley, linux-scsi, linux-kernel

This patch makes two needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

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

--- linux-2.6.19-rc5-mm2/drivers/scsi/megaraid/megaraid_sas.c.old	2006-11-20 00:55:39.000000000 +0100
+++ linux-2.6.19-rc5-mm2/drivers/scsi/megaraid/megaraid_sas.c	2006-11-20 00:55:57.000000000 +0100
@@ -517,7 +517,7 @@
  * Returns the number of frames required for numnber of sge's (sge_count)
  */
 
-u32 megasas_get_frame_count(u8 sge_count)
+static u32 megasas_get_frame_count(u8 sge_count)
 {
 	int num_cnt;
 	int sge_bytes;
@@ -1733,7 +1733,7 @@
  *
  * Tasklet to complete cmds
  */
-void megasas_complete_cmd_dpc(unsigned long instance_addr)
+static void megasas_complete_cmd_dpc(unsigned long instance_addr)
 {
 	u32 producer;
 	u32 consumer;


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

* RE: [2.6 patch] drivers/scsi/megaraid/megaraid_sas.c: make 2 functions static
@ 2006-11-21  0:40 Patro, Sumant
  0 siblings, 0 replies; 2+ messages in thread
From: Patro, Sumant @ 2006-11-21  0:40 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Kolli, Neela, James.Bottomley, linux-scsi, linux-kernel

Ack.
Thanks for submitting the patch.

Regards,

Sumant 

-----Original Message-----
From: Adrian Bunk [mailto:bunk@stusta.de] 
Sent: Sunday, November 19, 2006 6:24 PM
To: Patro, Sumant
Cc: Kolli, Neela; James.Bottomley@SteelEye.com;
linux-scsi@vger.kernel.org; linux-kernel@vger.kernel.org
Subject: [2.6 patch] drivers/scsi/megaraid/megaraid_sas.c: make 2
functions static

This patch makes two needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

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

--- linux-2.6.19-rc5-mm2/drivers/scsi/megaraid/megaraid_sas.c.old
2006-11-20 00:55:39.000000000 +0100
+++ linux-2.6.19-rc5-mm2/drivers/scsi/megaraid/megaraid_sas.c
2006-11-20 00:55:57.000000000 +0100
@@ -517,7 +517,7 @@
  * Returns the number of frames required for numnber of sge's
(sge_count)
  */
 
-u32 megasas_get_frame_count(u8 sge_count)
+static u32 megasas_get_frame_count(u8 sge_count)
 {
 	int num_cnt;
 	int sge_bytes;
@@ -1733,7 +1733,7 @@
  *
  * Tasklet to complete cmds
  */
-void megasas_complete_cmd_dpc(unsigned long instance_addr)
+static void megasas_complete_cmd_dpc(unsigned long instance_addr)
 {
 	u32 producer;
 	u32 consumer;


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

end of thread, other threads:[~2006-11-21  0:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-20  2:23 [2.6 patch] drivers/scsi/megaraid/megaraid_sas.c: make 2 functions static Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2006-11-21  0:40 Patro, Sumant

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