Re: [2/3] drivers/ps3: Fix ps3-vuart null dereference

2015-10-02 Thread Michael Ellerman
On Mon, 2015-14-09 at 19:35:04 UTC, Colin King wrote: > 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. > >

RE: [PATCH 2/3] drivers/ps3: Fix ps3-vuart null dereference

2015-09-15 Thread David Laight
From: Colin Ian King > Sent: 14 September 2015 20:35 > 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. ... >

[PATCH 2/3] drivers/ps3: Fix ps3-vuart null dereference

2015-09-14 Thread Colin Ian King
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