* [2.6 patch] drivers/message/fusion/mptfc.c: make 2 functions static
@ 2006-01-19 1:02 Adrian Bunk
0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2006-01-19 1:02 UTC (permalink / raw)
To: support; +Cc: mpt_linux_developer, linux-scsi, linux-kernel
This patch makes two needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
drivers/message/fusion/mptfc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- linux-2.6.16-rc1-mm1-full/drivers/message/fusion/mptfc.c.old 2006-01-18 23:16:09.000000000 +0100
+++ linux-2.6.16-rc1-mm1-full/drivers/message/fusion/mptfc.c 2006-01-18 23:16:34.000000000 +0100
@@ -93,7 +93,7 @@
static int mptfcTaskCtx = -1;
static int mptfcInternalCtx = -1; /* Used only for internal commands */
-int mptfc_slave_alloc(struct scsi_device *device);
+static int mptfc_slave_alloc(struct scsi_device *device);
static int mptfc_qcmd(struct scsi_cmnd *SCpnt,
void (*done)(struct scsi_cmnd *));
@@ -153,7 +153,7 @@
static struct scsi_transport_template *mptfc_transport_template = NULL;
-struct fc_function_template mptfc_transport_functions = {
+static struct fc_function_template mptfc_transport_functions = {
.dd_fcrport_size = 8,
.show_host_node_name = 1,
.show_host_port_name = 1,
@@ -432,7 +432,7 @@
* Return non-zero if allocation fails.
* Init memory once per LUN.
*/
-int
+static int
mptfc_slave_alloc(struct scsi_device *sdev)
{
MPT_SCSI_HOST *hd;
^ permalink raw reply [flat|nested] 3+ messages in thread
* [2.6 patch] drivers/message/fusion/mptfc.c: make 2 functions static
@ 2006-01-25 1:00 Adrian Bunk
0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2006-01-25 1:00 UTC (permalink / raw)
To: Andrew Morton; +Cc: support, mpt_linux_developer, linux-scsi, linux-kernel
This patch makes two needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
This patch was already sent on:
- 19 Jan 2006
drivers/message/fusion/mptfc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- linux-2.6.16-rc1-mm1-full/drivers/message/fusion/mptfc.c.old 2006-01-18 23:16:09.000000000 +0100
+++ linux-2.6.16-rc1-mm1-full/drivers/message/fusion/mptfc.c 2006-01-18 23:16:34.000000000 +0100
@@ -93,7 +93,7 @@
static int mptfcTaskCtx = -1;
static int mptfcInternalCtx = -1; /* Used only for internal commands */
-int mptfc_slave_alloc(struct scsi_device *device);
+static int mptfc_slave_alloc(struct scsi_device *device);
static int mptfc_qcmd(struct scsi_cmnd *SCpnt,
void (*done)(struct scsi_cmnd *));
@@ -153,7 +153,7 @@
static struct scsi_transport_template *mptfc_transport_template = NULL;
-struct fc_function_template mptfc_transport_functions = {
+static struct fc_function_template mptfc_transport_functions = {
.dd_fcrport_size = 8,
.show_host_node_name = 1,
.show_host_port_name = 1,
@@ -432,7 +432,7 @@
* Return non-zero if allocation fails.
* Init memory once per LUN.
*/
-int
+static int
mptfc_slave_alloc(struct scsi_device *sdev)
{
MPT_SCSI_HOST *hd;
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [2.6 patch] drivers/message/fusion/mptfc.c: make 2 functions static
@ 2006-01-25 16:26 Moore, Eric
0 siblings, 0 replies; 3+ messages in thread
From: Moore, Eric @ 2006-01-25 16:26 UTC (permalink / raw)
To: Adrian Bunk, Andrew Morton; +Cc: linux-scsi, linux-kernel
On Tuesday, January 24, 2006 6:01 PM, Adrian Bunk wrote:
> This patch makes two needlessly global functions static.
>
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
>
> ---
>
> This patch was already sent on:
> - 19 Jan 2006
>
> drivers/message/fusion/mptfc.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
ACK
Signed-off-by: Eric Moore <Eric.Moore@lsil.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-01-25 16:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-19 1:02 [2.6 patch] drivers/message/fusion/mptfc.c: make 2 functions static Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2006-01-25 1:00 Adrian Bunk
2006-01-25 16:26 Moore, Eric
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).