summaryrefslogtreecommitdiff
path: root/lib/checksum.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2012-10-29 01:45:11 (GMT)
committerBryan Wu <cooloney@gmail.com>2012-11-26 22:28:49 (GMT)
commit1b21ec5a2852ffd8db4189d4ef1c221aabc64936 (patch)
tree0de75151f99df8b7ec23b106171075f5464875dc /lib/checksum.c
parent04553e925baaa815025c6fd3cdc301a794fa2c74 (diff)
downloadlinux-fsl-qoriq-1b21ec5a2852ffd8db4189d4ef1c221aabc64936.tar.xz
leds: leds-lp5523: fix build warnings
This patch fixes build warnings as below: drivers/leds/leds-lp5523.c: In function 'lp5523_selftest': drivers/leds/leds-lp5523.c:496:18: warning: 'adc' may be used uninitialized in this function [-Wuninitialized] drivers/leds/leds-lp5523.c:471:5: warning: 'vdd' may be used uninitialized in this function [-Wuninitialized] drivers/leds/leds-lp5523.c: In function 'lp5523_probe': drivers/leds/leds-lp5523.c:252:9: warning: 'status' may be used uninitialized in this function [-Wuninitialized] drivers/leds/leds-lp5523.c:201:5: note: 'status' was declared here If lp5523_read() returns an error, problems will happen. Thus, when lp5523_read() returns an error, it should be handled. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'lib/checksum.c')
0 files changed, 0 insertions, 0 deletions