Skip to contentSkip to conversation

fix module_param mistake in it821x

PATCH Applied Stas Sergeev 2 participants 2 messages Jun 20, 2007 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix module_param mistake in it821x

Hello.

The attached patch fixes a trivial mistake in a MODULE_PARAM_DESC of pata_it821x driver. The parameter name in MODULE_PARAM_DESC should match the one in module_param_named.

drivers/ata/pata_it821x.c +1 -1
@@ -828,7 +828,7 @@
 
 
 module_param_named(noraid, it8212_noraid, int, S_IRUGO);
-MODULE_PARM_DESC(it8212_noraid, "Force card into bypass mode");
+MODULE_PARM_DESC(noraid, "Force card into bypass mode");
 
 module_init(it821x_init);
 module_exit(it821x_exit);
Applied
#1 lore raw
Quoted 15 lines · Stas Sergeev

Hello.

The attached patch fixes a trivial mistake in a MODULE_PARAM_DESC of pata_it821x driver. The parameter name in MODULE_PARAM_DESC should match the one in module_param_named.

------------------------------------------------------------------------

drivers/ata/pata_it821x.c line 831

Quoted 5 lines
drivers/ata/pata_it821x.c +1 -1
@@ -828,7 +828,7 @@
 
 
 module_param_named(noraid, it8212_noraid, int, S_IRUGO);
-MODULE_PARM_DESC(it8212_noraid, "Force card into bypass mode");
+MODULE_PARM_DESC(noraid, "Force card into bypass mode");

applied