public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 5/15] sm_ftl: fix module parameter.
@ 2011-12-15  3:05 Rusty Russell
  2011-12-17 16:44 ` Artem Bityutskiy
  0 siblings, 1 reply; 2+ messages in thread
From: Rusty Russell @ 2011-12-15  3:05 UTC (permalink / raw)
  To: lkml - Kernel Mailing List; +Cc: linux-mtd, David Woodhouse, Pawel Moll

You didn't mean this to be a bool.

Cc: David Woodhouse <dwmw2@infradead.org>
Cc: linux-mtd@lists.infradead.org
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
---
 drivers/mtd/sm_ftl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/sm_ftl.c b/drivers/mtd/sm_ftl.c
--- a/drivers/mtd/sm_ftl.c
+++ b/drivers/mtd/sm_ftl.c
@@ -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");
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-17 16:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-15  3:05 [PATCH 5/15] sm_ftl: fix module parameter Rusty Russell
2011-12-17 16:44 ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox