[2/3] drivers/ps3: Fix ps3-vuart null dereference
Michael Ellerman
mpe at ellerman.id.au
Fri Oct 2 17:47:09 AEST 2015
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.
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> Signed-off-by: Geoff Levand <geoff at infradead.org>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/6a6120bc5ec9e54d3cc06e73
cheers
More information about the Linuxppc-dev
mailing list