2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 03:33:59 +08:00
linux-next/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
..
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 of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
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
Kconfig drivers/sbus/char: remove depends on CONFIG_EXPERIMENTAL 2013-01-11 11:39:03 -08:00
Makefile sparc: Kill sbus mostek RTC driver. 2008-09-03 15:55:32 -07:00
max1617.h Fix common misspellings 2011-03-31 11:26:23 -03:00
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