* [-mm patch] drivers/scsi/ch.c: make a struct static
2005-02-23 9:42 2.6.11-rc4-mm1 Andrew Morton
@ 2005-02-28 18:07 ` Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-02-28 18:07 UTC (permalink / raw)
To: Andrew Morton, Gerd Knorr; +Cc: linux-kernel, James.Bottomley, linux-scsi
This patch makes a needlessly global struct static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.11-rc4-mm1-full/drivers/scsi/ch.c.old 2005-02-28 18:14:48.000000000 +0100
+++ linux-2.6.11-rc4-mm1-full/drivers/scsi/ch.c 2005-02-28 18:14:55.000000000 +0100
@@ -118,7 +118,7 @@
static spinlock_t ch_devlist_lock = SPIN_LOCK_UNLOCKED;
static int ch_devcount;
-struct scsi_driver ch_template =
+static struct scsi_driver ch_template =
{
.owner = THIS_MODULE,
.gendrv = {
^ permalink raw reply [flat|nested] 2+ messages in thread
* [-mm patch] drivers/scsi/ch.c: make a struct static
@ 2005-04-23 21:24 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-04-23 21:24 UTC (permalink / raw)
To: Andrew Morton; +Cc: Gerd Knorr, linux-kernel, James.Bottomley, linux-scsi
This patch makes a needlessly global struct static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
This patch was already sent on:
- 28 Feb 2005
--- linux-2.6.11-rc4-mm1-full/drivers/scsi/ch.c.old 2005-02-28 18:14:48.000000000 +0100
+++ linux-2.6.11-rc4-mm1-full/drivers/scsi/ch.c 2005-02-28 18:14:55.000000000 +0100
@@ -118,7 +118,7 @@
static spinlock_t ch_devlist_lock = SPIN_LOCK_UNLOCKED;
static int ch_devcount;
-struct scsi_driver ch_template =
+static struct scsi_driver ch_template =
{
.owner = THIS_MODULE,
.gendrv = {
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-04-23 21:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-23 21:24 [-mm patch] drivers/scsi/ch.c: make a struct static Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2005-02-23 9:42 2.6.11-rc4-mm1 Andrew Morton
2005-02-28 18:07 ` [-mm patch] drivers/scsi/ch.c: make a struct static Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox