diff mbox

[5/15] sm_ftl: fix module parameter.

Message ID 87y5uesfea.fsf@rustcorp.com.au
State Accepted
Commit f9fbcdc357f37d6c82a75a89c64efbe8bd5274e1
Headers show

Commit Message

Rusty Russell Dec. 15, 2011, 3:05 a.m. UTC
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(-)

Comments

Artem Bityutskiy Dec. 17, 2011, 4:44 p.m. UTC | #1
On Thu, 2011-12-15 at 13:35 +1030, Rusty Russell wrote:
> 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>

Pushed to l2-mtd-2.6.git, thanks!
diff mbox

Patch

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");