mtd: sm_ftl: fix module parameter

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Mon Jan 9 13:59:08 EST 2012


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=f9fbcdc357f37d6c82a75a89c64efbe8bd5274e1
Commit:     f9fbcdc357f37d6c82a75a89c64efbe8bd5274e1
Parent:     e10019bce9cbeb7675d5d08221012a2cfee0d498
Author:     Rusty Russell <rusty at rustcorp.com.au>
AuthorDate: Thu Dec 15 13:35:49 2011 +1030
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Mon Jan 9 18:18:55 2012 +0000

    mtd: sm_ftl: fix module parameter
    
    You didn't mean this to be a bool.
    
    Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
    Signed-off-by: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/sm_ftl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/sm_ftl.c b/drivers/mtd/sm_ftl.c
index fddb714..1c9f307 100644
--- 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");
 



More information about the linux-mtd-cvs mailing list