Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

H Hartley Sweeten and committed by
Greg Kroah-Hartman
40c3ef9d cbfe8fa6

+1
+1
drivers/staging/comedi/drivers/das1800.c
··· 1266 1266 if (index == das1801hc || index == das1802hc) 1267 1267 return board; 1268 1268 index = das1801hc; 1269 + break; 1269 1270 default: 1270 1271 dev_err(dev->class_dev, 1271 1272 "Board model: probe returned 0x%x (unknown, please report)\n",