mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/3] mmc: rectify boot param option for fault injection
@ 2011-09-14 12:10 Per Forlin
  2011-09-14 12:10 ` [PATCH v3 1/3] fault-inject: export setup_fault_attr() Per Forlin
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Per Forlin @ 2011-09-14 12:10 UTC (permalink / raw)
  To: linaro-dev, Akinobu Mita, Linus Walleij, linux-mmc
  Cc: Chris Ball, Randy Dunlap, linux-doc, linux-kernel, Per Forlin

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  
v3 - remove unused variable and return error if invalid boot param.

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


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

end of thread, other threads:[~2011-09-21 18:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-14 12:10 [PATCH v3 0/3] mmc: rectify boot param option for fault injection Per Forlin
2011-09-14 12:10 ` [PATCH v3 1/3] fault-inject: export setup_fault_attr() Per Forlin
2011-09-14 12:10 ` [PATCH v3 2/3] mmc: add module param to set fault injection attributes Per Forlin
2011-09-14 12:10 ` [PATCH v3 3/3] fault-injection: update documentation with the mmc module param Per Forlin
2011-09-19  3:51 ` [PATCH v3 0/3] mmc: rectify boot param option for fault injection Akinobu Mita
2011-09-21 18:57 ` Chris Ball

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

Powered by JetHome