rv1126-uboot/drivers
Nishanth Menon 9cb05a8f9f drivers: remoteproc: rproc-uclass: Fix check for NULL pointers
Neither uc_pdata->name nor check_name are supposed to be NULL in
_rproc_name_is_unique(). if uc_pdata->name is NULL, we are not
intialized yet, however if check_data is NULL, we do not have
proper data. Further, if either were NULL, strlen will crap out
while attempting to derefence NULL.

Instead, just check if either of these are NULL and bail out.

This should also fix the following coverity scan warnings:
*** CID 132281:  Null pointer dereferences  (FORWARD_NULL)
/drivers/remoteproc/rproc-uclass.c: 73 in _rproc_name_is_unique()

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
2015-12-05 18:22:32 -05:00
..
adc sandbox: add ADC driver 2015-11-02 10:38:00 +09:00
bios_emulator Various Makefiles: Add SPDX-License-Identifier tags 2015-11-10 09:19:52 -05:00
block Fix typo: firstly -> first. 2015-12-05 18:22:23 -05:00
bootcount
clk rockchip: rk3036: Add clock driver 2015-12-01 08:07:22 -07:00
core dm: core: Add SPL Kconfig for REGMAP and SYSCON 2015-12-01 08:07:22 -07:00
cpu
crypto crypto/fsl: SEC driver cleanup for 64 bit and endianness 2015-10-29 10:33:57 -07:00
ddr drivers/ddr/fsl: Fix typo in BIST test for DDR4 2015-11-30 09:11:12 -08:00
demo
dfu dfu: dfu_sf: Pass duplicate devstr to parse_dev 2015-11-03 17:29:33 +01:00
dma
fpga Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
gpio Change e-mail address of Kamil Lulko 2015-12-05 18:22:32 -05:00
hwmon
i2c i2c, avr32: fix compiler warning "input is not relaxable" 2015-11-23 14:47:48 +01:00
input Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
led
memory Various Makefiles: Add SPDX-License-Identifier tags 2015-11-10 09:19:52 -05:00
misc Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
mmc rockchip: mmc: get the fifo mode and fifo depth property from dts 2015-12-01 08:07:22 -07:00
mtd Fix typo: firstly -> first. 2015-12-05 18:22:23 -05:00
net sparc: Use microseconds instead of ticks for timeout 2015-12-03 13:15:49 +02:00
pci dm: pci: Disable PCI compatibility functions by default 2015-12-01 06:26:38 -07:00
pcmcia
pinctrl rockchip: rk3036: Add pinctrl driver 2015-12-01 08:07:22 -07:00
power sunxi: Add basic H3 support 2015-11-22 11:30:59 +01:00
pwm
qe
ram
remoteproc drivers: remoteproc: rproc-uclass: Fix check for NULL pointers 2015-12-05 18:22:32 -05:00
rtc rtc: Add MCP79411 support to DS1307 rtc driver 2015-11-04 15:19:12 -08:00
serial ns16550: change reg-shift property default to zero 2015-12-05 18:22:29 -05:00
soc Various Makefiles: Add SPDX-License-Identifier tags 2015-11-10 09:19:52 -05:00
sound
spi Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
thermal
timer x86: tsc: Move tsc_timer.c to drivers/timer 2015-12-01 06:26:35 -07:00
tpm
twserial
usb sunxi: musb: Implement dfu_usb_get_reset() 2015-11-22 11:30:59 +01:00
video Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2015-12-04 08:21:28 -05:00
watchdog
Kconfig dm: adc: add simple ADC uclass implementation 2015-11-02 10:38:00 +09:00
Makefile Various Makefiles: Add SPDX-License-Identifier tags 2015-11-10 09:19:52 -05:00