[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1315990017-16912-1-git-send-email-per.forlin@linaro.org>
Date: Wed, 14 Sep 2011 10:46:54 +0200
From: Per Forlin <per.forlin@...aro.org>
To: linaro-dev@...ts.linaro.org, Akinobu Mita <akinobu.mita@...il.com>,
Linus Walleij <linus.walleij@...aro.org>,
linux-mmc@...r.kernel.org
Cc: Chris Ball <cjb@...top.org>, Randy Dunlap <rdunlap@...otime.net>,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
Per Forlin <per.forlin@...aro.org>
Subject: [PATCH v2 0/3] mmc: rectify boot param option for fault injection
Akinobu Mita reported that the boot option for mmc fault injection is never
compiled in due to a fauly "ifdef KERNEL" that is never set.
A correct ifdef would be "ifndef MODULE". This patch set adds a
module_param_cb() and thereby no ifndef MODULE is needed.
Using a module_param makes it possible to pass default fault attributes for
external modules too.
This patch set is for 3.2
Change log:
v2 - use module_param_cb() to set default fault attributes
- fix spelling of documentation in patch #3
Per Forlin (3):
fault-inject: export setup_fault_attr()
mmc: add module param to set fault injection attributes
fault-injection: update documentation with the mmc module param
Documentation/fault-injection/fault-injection.txt | 2 +-
drivers/mmc/core/debugfs.c | 38 +++++++++++----------
lib/fault-inject.c | 3 +-
3 files changed, 23 insertions(+), 20 deletions(-)
--
1.7.4.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists