scsi: sym53c8xx: fix NULL pointer dereference panic in sym_int_sir()
[ Upstream commit 288315e95264b6355e26609e9dec5dc4563d4ab0 ] sym_int_sir() in sym_hipd.c does not check the command pointer for NULL before using it in debug message prints. Suggested-by: NMatthew Wilcox <matthew.wilcox@oracle.com> Signed-off-by: NGeorge Kennedy <george.kennedy@oracle.com> Reviewed-by: NMark Kanda <mark.kanda@oracle.com> Acked-by: NMatthew Wilcox <matthew.wilcox@oracle.com> Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com> Signed-off-by: NSasha Levin <sashal@kernel.org>
Showing
想要评论请 注册 或 登录