Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[SCSI] mpt: fix disable lsi sas to use msi as default

Impact: fix bug

the third param in module_param(,,) is perm instead of default value.
we still need to assign default at first. Also, the default is now
zero not one, so fix the parameter text to reflect that.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Acked-by: Kashyap Desai <kadesai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

authored by

Yinghai Lu and committed by
James Bottomley
5ce7868e 126c0982

+2 -2
+2 -2
drivers/message/fusion/mptbase.c
··· 91 91 controllers (default=0)"); 92 92 93 93 static int mpt_msi_enable_sas; 94 - module_param(mpt_msi_enable_sas, int, 1); 94 + module_param(mpt_msi_enable_sas, int, 0); 95 95 MODULE_PARM_DESC(mpt_msi_enable_sas, " Enable MSI Support for SAS \ 96 - controllers (default=1)"); 96 + controllers (default=0)"); 97 97 98 98 99 99 static int mpt_channel_mapping;