linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] scsi_transport_spi.c: make print_nego() static
@ 2006-01-05 22:39 Adrian Bunk
  2006-01-05 22:44 ` Matthew Wilcox
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2006-01-05 22:39 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: James Bottomley, linux-scsi, linux-kernel

This patch makes a needlessly global function static.


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

--- linux-2.6.15-mm1-full/drivers/scsi/scsi_transport_spi.c.old	2006-01-05 22:52:19.000000000 +0100
+++ linux-2.6.15-mm1-full/drivers/scsi/scsi_transport_spi.c	2006-01-05 22:52:28.000000000 +0100
@@ -1075,7 +1075,7 @@
 /* 0x04 */ "Parallel Protocol Request"
 };
 
-void print_nego(const unsigned char *msg, int per, int off, int width)
+static void print_nego(const unsigned char *msg, int per, int off, int width)
 {
 	if (per) {
 		char buf[20];

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

* Re: [2.6 patch] scsi_transport_spi.c: make print_nego() static
  2006-01-05 22:39 [2.6 patch] scsi_transport_spi.c: make print_nego() static Adrian Bunk
@ 2006-01-05 22:44 ` Matthew Wilcox
  0 siblings, 0 replies; 3+ messages in thread
From: Matthew Wilcox @ 2006-01-05 22:44 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: James Bottomley, linux-scsi, linux-kernel

On Thu, Jan 05, 2006 at 11:39:18PM +0100, Adrian Bunk wrote:
> This patch makes a needlessly global function static.

Sure,  makes  sense.   Thanks.

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

* [2.6 patch] scsi_transport_spi.c: make print_nego() static
@ 2006-01-14  2:09 Adrian Bunk
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2006-01-14  2:09 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Matthew Wilcox, James Bottomley, linux-scsi, linux-kernel

This patch makes a needlessly global function static.


Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Matthew Wilcox <matthew@wil.cx>

---

This patch was already sent on:
- 5 Jan 2006

--- linux-2.6.15-mm1-full/drivers/scsi/scsi_transport_spi.c.old	2006-01-05 22:52:19.000000000 +0100
+++ linux-2.6.15-mm1-full/drivers/scsi/scsi_transport_spi.c	2006-01-05 22:52:28.000000000 +0100
@@ -1075,7 +1075,7 @@
 /* 0x04 */ "Parallel Protocol Request"
 };
 
-void print_nego(const unsigned char *msg, int per, int off, int width)
+static void print_nego(const unsigned char *msg, int per, int off, int width)
 {
 	if (per) {
 		char buf[20];


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

end of thread, other threads:[~2006-01-14  2:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-05 22:39 [2.6 patch] scsi_transport_spi.c: make print_nego() static Adrian Bunk
2006-01-05 22:44 ` Matthew Wilcox
  -- strict thread matches above, loose matches on Subject: below --
2006-01-14  2:09 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).