WSL2-Linux-Kernel/drivers/sbus/char
Sam Ravnborg 21916a4a29 openprom: fix warning
Fix following warnings:
openprom.c:510:2: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized]
openprom.c:503:3: warning: 'str' may be used uninitialized in this function [-Wmaybe-uninitialized]
openprom.c:459:8: warning: 'str' may be used uninitialized in this function [-Wmaybe-uninitialized]
openprom.c:422:7: warning: 'str' may be used uninitialized in this function [-Wmaybe-uninitialized]

Fixed by introducing PTR_ERR etc.
This simplified the code as a nice side effect.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-20 18:33:37 -07:00
..
Kconfig drivers/sbus/char: remove depends on CONFIG_EXPERIMENTAL 2013-01-11 11:39:03 -08:00
Makefile
bbc_envctrl.c drivers/sbus/char/envctrl.c: ignore orderly_poweroff return value 2015-04-15 16:35:23 -07:00
bbc_i2c.c sbus: char: drop owner assignment from platform_drivers 2014-10-20 16:21:32 +02:00
bbc_i2c.h
display7seg.c sbus: char: drop owner assignment from platform_drivers 2014-10-20 16:21:32 +02:00
envctrl.c drivers/sbus/char/envctrl.c: ignore orderly_poweroff return value 2015-04-15 16:35:23 -07:00
flash.c sbus: char: drop owner assignment from platform_drivers 2014-10-20 16:21:32 +02:00
jsflash.c jsflash: missed conversion from rq->buffer to bio_data(rq->bio) 2014-04-16 14:15:25 -06:00
max1617.h
openprom.c openprom: fix warning 2016-05-20 18:33:37 -07:00
uctrl.c sbus: char: drop owner assignment from platform_drivers 2014-10-20 16:21:32 +02:00