diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2012-08-14 11:29:17 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-25 19:31:43 -0700 |
commit | c8d54c4c73b719db5cb977b61d14bc0c184050f3 (patch) | |
tree | e47f715190ee0266cc6e0e5af13bfa9a30327ca7 /fs/jbd2/commit.c | |
parent | 10eac236981c501f74682f122037021acd6a452b (diff) |
staging: comedi: Fix reversed test in comedi_device_attach()
commit 80eb7a506fdcea08f86c9dfc7c638303bf02a3c8 upstream.
Commit 3902a370281d2f2b130f141e8cf94eab40125769 (staging: comedi:
refactor comedi_device_attach() a bit) by yours truly introduced an
inverted logic bug in comedi_device_attach() for the case where the
driver expects the device to be configured by driver name rather than
board name. The result of a strcmp() is being tested incorrectly. Fix
it.
Thanks to Stephen N Chivers for discovering the bug and suggesting the
fix.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions