aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2015-06-29 09:14:33 +0200
committerJonathan Cameron <[email protected]>2015-07-05 14:18:12 +0100
commit897993fecbb8e6292aaa4079815f0793dcf6de8b (patch)
tree5e943161697a508bfaf2711e7275f761a2429877 /lib/debugobjects.c
parent5d9fc0f63f561e7fa4da0883a4d0bd8e6a8b5de6 (diff)
iio: sx9500: Add missing init in sx9500_buffer_pre{en,dis}able()
drivers/iio/proximity/sx9500.c: In function ‘sx9500_buffer_preenable’: drivers/iio/proximity/sx9500.c:682: warning: ‘ret’ may be used uninitialized in this function drivers/iio/proximity/sx9500.c: In function ‘sx9500_buffer_predisable’: drivers/iio/proximity/sx9500.c:706: warning: ‘ret’ may be used uninitialized in this function If active_scan_mask is empty, it will loop once more over all channels, doing nothing. Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Vlad Dogaru <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions