aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorDave Jones <[email protected]>2014-04-07 15:39:15 -0700
committerLinus Torvalds <[email protected]>2014-04-07 16:36:10 -0700
commit16caed319604609a5579df132fce362a456170d7 (patch)
tree4957342fcb459c2821297167362616ed38ce202c /include/linux/fpga/fpga-mgr.h
parentb06dd879f5db33c1d7f5ab516ea671627f99c0c9 (diff)
fault-injection: set bounds on what /proc/self/make-it-fail accepts.
/proc/self/make-it-fail is a boolean, but accepts any number, including negative ones. Change variable to unsigned, and cap upper bound at 1. [[email protected]: don't make make_it_fail unsigned] Signed-off-by: Dave Jones <[email protected]> Reviewed-by: Akinobu Mita <[email protected]> Cc: David Rientjes <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions