1
0
Fork 0
alistair23-linux/drivers/staging
Gustavo A. R. Silva 479826cc86 staging: comedi: ni_660x: fix missing break in switch statement
Add missing break statement in order to prevent the code from falling
through to the default case and return -EINVAL every time.

This bug was found thanks to the ongoing efforts to enable
-Wimplicit-fallthrough.

Fixes: aa94f28888 ("staging: comedi: ni_660x: tidy up ni_660x_set_pfi_routing()")
Cc: stable@vger.kernel.org
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-02-13 19:43:34 +01:00
..
android staging: android: formatting change in ashmem.c 2019-02-08 10:31:14 +01:00
axis-fifo staging: axis-fifo: Split line to stay in 80 characters. 2018-11-20 10:59:30 +01:00
board
clocking-wizard staging: clocking-wizard: match parenthesis indentation 2018-10-09 14:57:33 +02:00
comedi staging: comedi: ni_660x: fix missing break in switch statement 2019-02-13 19:43:34 +01:00
emxx_udc Staging: emxx_udc: Switch to the gpio descriptor interface 2019-01-15 16:25:58 +01:00
erofs staging: erofs: remove redundant unlikely annotation in unzip_vle.c 2019-02-12 10:45:45 +01:00
fbtft Staging: fbtft: Switch to the gpio descriptor interface 2019-01-18 11:01:02 +01:00
fsl-dpaa2 staging: fsl-dpaa2: fix SPDX identifiers in header files 2019-01-07 08:56:07 +01:00
fwserial staging: fwserial: convert to DEFINE_SHOW_ATTRIBUTE 2018-12-17 14:24:07 +01:00
gasket staging: gasket: interrupt: remove unused including <linux/version.h> 2019-01-22 11:32:36 +01:00
gdm724x staging: gdm724x: redundant variables idProduct and idVendor 2018-07-11 13:12:34 +02:00
goldfish staging: goldfish: remove GPL boiler plate text 2019-01-15 16:08:04 +01:00
greybus staging: greybus: arche-platform: Switch to the gpio descriptor interface 2019-01-15 16:18:14 +01:00
gs_fpgaboot staging: gs_fpgaboot: cleanup alignment issue - style 2019-01-15 16:08:05 +01:00
iio staging: iio: frequency: ad9833: Load clock using clock framework 2019-02-02 17:06:49 +00:00
ks7010 staging: ks7010: remove unnecessary parentheses 2019-01-25 09:52:01 +01:00
media staging: prefix header search paths with $(srctree)/ 2019-02-04 12:30:27 +01:00
most staging: most: cdev: add missing check for cdev_add failure 2019-02-04 12:36:14 +01:00
mt7621-dma staging: Move ralink-gdma to its own directory 2019-01-15 16:28:02 +01:00
mt7621-dts staging: mt7621-dts: add pci-phy related bindings to board's device tree 2019-01-07 11:28:14 +01:00
mt7621-eth staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier 2019-02-04 12:34:03 +01:00
mt7621-mmc staging: Mediatek: Use individual config flags in Makefile 2019-01-18 11:01:02 +01:00
mt7621-pci staging: mt7621-pci: update driver's TODO file 2019-02-11 10:02:50 +01:00
mt7621-pci-phy staging: Mediatek: Use individual config flags in Makefile 2019-01-18 11:01:02 +01:00
mt7621-pinctrl staging: mt7621-pinctrl: Test devm_kzalloc for failure while improving the code 2019-01-30 15:38:50 +01:00
mt7621-spi staging: mt7621-spi: Clean up comparison to NULL 2019-02-04 12:34:37 +01:00
netlogic staging: netlogic: replace ---help--- with help in Kconfig 2019-01-22 11:32:35 +01:00
nvec
octeon staging: octeon: fix broken phylib usage 2019-01-30 15:31:24 +01:00
octeon-usb staging: octeon-usb: use a helper function to set the DMA mask 2018-12-05 09:47:02 +01:00
olpc_dcon staging: olpc_dcon: olpc_dcon_xo_1.c: Switch to the gpio descriptor interface 2018-11-08 03:59:47 -08:00
pi433 staging: pi433: add missing call to cdev_del() 2018-12-05 09:39:45 +01:00
ralink-gdma staging: Move ralink-gdma to its own directory 2019-01-15 16:28:02 +01:00
rtl8188eu staging: rtl8188eu: cleanup ODM_CmnInfoPtrArrayHook() 2019-02-04 12:36:14 +01:00
rtl8192e staging: rtl8192e: rename parameters of function dot11d_update_country - style 2019-02-11 10:02:47 +01:00
rtl8192u staging: rtl8192u: remove redundant nul check on pointer dev 2019-02-07 13:33:54 +01:00
rtl8712 staging: rtl8712: drop pointless static qualifier in r8712_efuse_pg_packet_write() 2019-01-22 11:32:36 +01:00
rtl8723bs Staging: rtl8723bs: remove some dead code 2019-02-07 13:33:54 +01:00
rtlwifi staging: rtlwifi: replace ---help--- with help in Kconfig 2019-01-30 15:38:50 +01:00
rts5208 Staging: rts5208: Fix error handling on rtsx_send_cmd 2019-01-07 11:28:15 +01:00
sm750fb staging: sm750fb: Rename setDisplayControl to set_display_control - style 2019-02-07 13:33:54 +01:00
speakup Merge 5.0-rc6 into staging-next 2019-02-11 09:25:01 +01:00
unisys staging: prefix header search paths with $(srctree)/ 2019-02-04 12:30:27 +01:00
vboxvideo Staging/IIO driver patches for 4.21-rc1 2018-12-28 20:39:58 -08:00
vc04_services staging: prefix header search paths with $(srctree)/ 2019-02-04 12:30:27 +01:00
vme
vt6655 cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
vt6656 staging: vt6656: Use the correct style for SPDX license Identifier 2019-02-07 13:33:54 +01:00
wilc1000 staging: wilc1000: rename linux_wlan.c and linux_mon.c 2019-02-07 13:34:45 +01:00
wlan-ng staging: wlan-ng: formatting change in cfg80211.c 2019-02-08 10:31:14 +01:00
Kconfig staging: xgifb: delete the driver 2019-01-22 11:32:35 +01:00
Makefile staging: xgifb: delete the driver 2019-01-22 11:32:35 +01:00