summaryrefslogtreecommitdiff
path: root/Documentation/debugging-modules.txt
diff options
context:
space:
mode:
authorColin King <colin.king@canonical.com>2015-09-14 22:35:04 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2015-09-29 16:00:58 +0300
commit6a6120bc5ec9e54d3cc06e739c270b55b081abe5 (patch)
tree920798384dd3dad9f03bd9094595784b1dd1b907 /Documentation/debugging-modules.txt
parent12a509336701132f521c8fc22a5910478ca98cb3 (diff)
downloadlinux-6a6120bc5ec9e54d3cc06e739c270b55b081abe5.tar.xz
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>
Diffstat (limited to 'Documentation/debugging-modules.txt')
0 files changed, 0 insertions, 0 deletions