OpenCloudOS-Kernel/drivers/ps3
Colin King 6a6120bc5e drivers/ps3: Fix ps3-vuart null dereference
On the unlikely event that drv is null, the current code will
perform a null pointer dereference with it when printing a dev_dbg
message.  Instead, the BUG_ON check on drv should be performed
before we emit the dev_dbg message.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2015-09-29 23:00:58 +10:00
..
Makefile powerpc/ps3: Replace the use of <module>-objs with <module>-y 2010-11-29 15:48:19 +11:00
ps3-lpm.c drivers/ps3: Fix ps3-lpm white space 2015-09-29 23:00:50 +10:00
ps3-sys-manager.c Drivers: misc: remove __dev* attributes. 2013-01-03 15:57:16 -08:00
ps3-vuart.c drivers/ps3: Fix ps3-vuart null dereference 2015-09-29 23:00:58 +10:00
ps3av.c Drivers: misc: remove __dev* attributes. 2013-01-03 15:57:16 -08:00
ps3av_cmd.c ps3fb/vram: Extract common GPU stuff into <asm/ps3gpu.h> 2009-06-15 13:26:20 +10:00
ps3stor_lib.c powerpc/ps3: irq: Remove IRQF_DISABLED 2011-11-08 14:51:46 +11:00
sys-manager-core.c powerpc/ps3: Fix sys-manager-core sparse warnings 2015-01-22 17:31:21 +11:00
vuart.h powerpc/ps3: Fix vuart sparse warnings 2015-01-22 17:31:21 +11:00