mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 09:31:50 +00:00
staging: comedi: das1800: add missing break in switch
Commit 06ad6bd8
"staging: comedi: das1800: cleanup das1800_probe()"
Accidently removed the 'break' statement for case 0x8 of the switch.
Add it back.
Reported-by: coverity (CID 1309550)
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
cbfe8fa6cd
commit
40c3ef9d2f
@ -1266,6 +1266,7 @@ static const struct das1800_board *das1800_probe(struct comedi_device *dev)
|
||||
if (index == das1801hc || index == das1802hc)
|
||||
return board;
|
||||
index = das1801hc;
|
||||
break;
|
||||
default:
|
||||
dev_err(dev->class_dev,
|
||||
"Board model: probe returned 0x%x (unknown, please report)\n",
|
||||
|
Loading…
Reference in New Issue
Block a user