2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 11:44:01 +08:00
linux-next/arch/arm/plat-pxa
Olof Johansson d5ece9373c ARM: pxa: ssp: Check return values from phandle lookups
Commit a6e56c28a1 (ARM: pxa: ssp: add DT bindings) causes warnings
when built:

arch/arm/plat-pxa/ssp.c: In function 'pxa_ssp_probe':
arch/arm/plat-pxa/ssp.c:145:17: warning: 'dma_spec.args[0]' may be used
	uninitialized in this function [-Wmaybe-uninitialized]

Resolve by checking return values and aborting when lookups fail.

Cc: Daniel Mack <zonque@gmail.com>
Cc: Mark Brown <broonie@linaro.org>
Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
2013-09-09 17:14:09 -07:00
..
include/plat ARM: pxa: remove pxa95x support 2012-11-15 13:50:13 +01:00
dma.c Disintegrate asm/system.h for ARM 2012-03-28 18:30:01 +01:00
Kconfig [ARM] pxa: move ssp into common plat-pxa 2010-05-11 17:24:58 +02:00
Makefile ARM: pxa: remove pxa95x support 2012-11-15 13:50:13 +01:00
mfp.c ARM: pxa: use correct __iomem annotations 2011-10-08 21:03:07 +08:00
ssp.c ARM: pxa: ssp: Check return values from phandle lookups 2013-09-09 17:14:09 -07:00