linux/drivers/staging
Arnd Bergmann 3089ec2c10 staging: iio: cdc/ad7746: fix missing return value
As found by "gcc -Wmaybe-uninitialized", the latest change to the
driver lacked an initalization for the return code in one of the
added cases:

drivers/staging/iio/cdc/ad7746.c: In function ‘ad7746_read_raw’:
drivers/staging/iio/cdc/ad7746.c:655:2: error: ‘ret’ may be used uninitialized in this function [-Werror=maybe-uninitialized]

This sets it to IIO_VAL_INT, which I think is what we want here.

Fixes: 2296c0623e ("staging: iio: cdc: ad7746: implement IIO_CHAN_INFO_SAMP_FREQ")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-10-25 17:25:34 +01:00
..
android Staging: android: ion: Make a read-only structure 2016-10-24 15:33:27 +02:00
board
clocking-wizard
comedi staging: comedi: ni_mio_common: split out ao arming from ni_ao_inttrig 2016-10-16 10:26:17 +02:00
dgnc staging: dgnc: Add const qualifier to struct declaration. 2016-10-17 09:46:58 +02:00
emxx_udc Staging: emxx_udc: constify usb_ep_ops structure 2016-10-16 10:25:08 +02:00
fbtft Staging: fbtft: Fix too many leading tabs warning 2016-10-16 10:26:14 +02:00
fsl-mc Staging/IIO patches for 4.9-rc1 2016-10-05 14:50:51 -07:00
fwserial Staging: fwserial: remove unused function fill_unplug_req 2016-10-16 10:25:09 +02:00
gdm724x
goldfish
greybus staging: greybus: audio: remove redundant slot field 2016-10-24 15:48:02 +02:00
gs_fpgaboot
i4l staging: i4l: pcbit: replace some include asm/*.h with linux/*.h 2016-10-16 10:27:26 +02:00
iio staging: iio: cdc/ad7746: fix missing return value 2016-10-25 17:25:34 +01:00
ks7010 staging: ks7010: Remove braces around single statement blocks 2016-10-17 09:55:26 +02:00
lustre Staging: lustre: indent an if statement 2016-10-16 10:27:40 +02:00
media Staging: media: lirc: Use unsigned int instead unsigned 2016-10-16 10:26:27 +02:00
most staging: most: hdm-usb: fix mbo buffer leak 2016-10-16 10:25:14 +02:00
mt29f_spinand
netlogic Staging: netlogic: Compress return logic into one line 2016-10-16 10:27:33 +02:00
nvec
octeon Staging: octeon: Add missing of_node_put after calling of_parse_phandle. 2016-09-20 13:51:24 +02:00
octeon-usb staging: octeon-usb: Remove unnecessary assignment 2016-09-22 11:54:48 +02:00
olpc_dcon
rtl8188eu staging: rtl8188eu: core: constify local structure 2016-10-17 10:27:55 +02:00
rtl8192e staging: rtl8192e: Compress return logic into one line. 2016-10-17 10:27:55 +02:00
rtl8192u staging: rtl8192u: remove unused functions in r8192U_core.c 2016-09-23 19:00:44 +02:00
rtl8712 Staging: rtl8712: remove unused functions 2016-10-16 10:24:51 +02:00
rts5208 staging: rts5208: rtsx.c: Alignment fix 2016-10-16 10:27:20 +02:00
skein Staging: skein: skein_api: Remove useless type conversion 2016-10-16 10:25:07 +02:00
slicoss staging: slicoss: cleaning up codestyle warnings 2016-09-27 13:08:04 +02:00
sm750fb staging: sm750fb: Add const qualifier to struct declaration. 2016-10-17 09:46:58 +02:00
speakup Staging: speakup: constify attribute_group structures 2016-10-02 17:14:03 +02:00
unisys Staging: unisys: visorbus: Make a read-only structure 2016-10-17 10:27:55 +02:00
vc04_services staging: vc04_services: Add casts to remove warnings in vchiq_core.c 2016-10-24 15:21:27 +02:00
vme
vt6655 Staging: vt6655: Replace dwIoBase by iobase 2016-10-17 10:30:09 +02:00
vt6656 staging: vt6656: Remove unnecessary parentheses. 2016-10-24 15:35:03 +02:00
wilc1000 staging: wilc1000: Remove unnecessary extern variables. 2016-10-17 09:54:15 +02:00
wlan-ng staging: wlan-ng: cfg80211: Remove unnecessary parentheses around variables 2016-10-16 10:26:25 +02:00
xgifb staging: xgifb: Remove unnecessary parentheses. 2016-10-24 15:35:03 +02:00
Kconfig staging: add bcm2708 vchiq driver 2016-10-02 15:40:04 +02:00
Makefile staging: add bcm2708 vchiq driver 2016-10-02 15:40:04 +02:00