* [PATCH] mpt: fix enable lsi sas to use msi as default
@ 2009-02-06 19:42 Yinghai Lu
0 siblings, 0 replies; only message in thread
From: Yinghai Lu @ 2009-02-06 19:42 UTC (permalink / raw)
To: James Bottomley, Kashyap Desai, Andrew Morton, Ingo Molnar
Cc: Linux-Scsi, linux-kernel
Impact: fix bug
the third arg in module_param(,,) is perm instead of default value.
we still need to assign default at first.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
---
drivers/message/fusion/mptbase.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: linux-2.6/drivers/message/fusion/mptbase.c
===================================================================
--- linux-2.6.orig/drivers/message/fusion/mptbase.c
+++ linux-2.6/drivers/message/fusion/mptbase.c
@@ -90,8 +90,8 @@ module_param(mpt_msi_enable_fc, int, 0);
MODULE_PARM_DESC(mpt_msi_enable_fc, " Enable MSI Support for FC \
controllers (default=0)");
-static int mpt_msi_enable_sas;
-module_param(mpt_msi_enable_sas, int, 1);
+static int mpt_msi_enable_sas = 1;
+module_param(mpt_msi_enable_sas, int, 0);
MODULE_PARM_DESC(mpt_msi_enable_sas, " Enable MSI Support for SAS \
controllers (default=1)");
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-02-06 19:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-06 19:42 [PATCH] mpt: fix enable lsi sas to use msi as default Yinghai Lu
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).