Skip to contentSkip to conversation

sm_ftl: fix module parameter.

PATCH Applied Rusty Russell 2 participants 2 messages Dec 15, 2011 – Dec 17, 2011 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 5/15 sm_ftl: fix module parameter.

You didn't mean this to be a bool.

---
 drivers/mtd/sm_ftl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/sm_ftl.c +1 -1
@@ -25,7 +25,7 @@
 struct workqueue_struct *cache_flush_workqueue;
 
 static int cache_timeout = 1000;
-module_param(cache_timeout, bool, S_IRUGO);
+module_param(cache_timeout, int, S_IRUGO);
 MODULE_PARM_DESC(cache_timeout,
 	"Timeout (in ms) for cache flush (1000 ms default");