Commit b6cfd356 authored by Tomas Henzl's avatar Tomas Henzl Committed by sanglipeng
Browse files

scsi: megaraid_sas: Fix fw_crash_buffer_show()

stable inclusion
from stable-v5.10.179
commit 24ddcc6a635b01a8fa2f320461011e67c0ea5abc
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8C809

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=24ddcc6a635b01a8fa2f320461011e67c0ea5abc



--------------------------------

[ Upstream commit 0808ed6e ]

If crash_dump_buf is not allocated then crash dump can't be available.
Replace logical 'and' with 'or'.

Signed-off-by: default avatarTomas Henzl <thenzl@redhat.com>
Link: https://lore.kernel.org/r/20230324135249.9733-1-thenzl@redhat.com


Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent e32b647e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment