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:Tomas Henzl <thenzl@redhat.com> Link: https://lore.kernel.org/r/20230324135249.9733-1-thenzl@redhat.com Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment