android_kernel_xiaomi_sm8450/drivers/scsi/qla2xxx
Jinjie Ruan ae889fffae scsi: qla2xxx: Fix NULL vs IS_ERR() bug for debugfs_create_dir()
[ Upstream commit d0b0822e32dbae80bbcb3cc86f34d28539d913df ]

Since both debugfs_create_dir() and debugfs_create_file() return ERR_PTR
and never NULL, use IS_ERR() instead of checking for NULL.

Fixes: 1e98fb0f92 ("scsi: qla2xxx: Setup debugfs entries for remote ports")
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/r/20230831140930.3166359-1-ruanjinjie@huawei.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-23 11:01:09 +02:00
..
Kconfig
Makefile
qla_attr.c scsi: qla2xxx: Remove unsupported ql2xenabledif option 2023-09-19 12:20:24 +02:00
qla_bsg.c scsi: qla2xxx: Pointer may be dereferenced 2023-07-27 08:44:33 +02:00
qla_bsg.h
qla_dbg.c scsi: qla2xxx: Fix crash in PCIe error handling 2023-09-19 12:20:29 +02:00
qla_dbg.h
qla_def.h scsi: qla2xxx: Flush mailbox commands on chip reset 2023-09-19 12:20:29 +02:00
qla_devtbl.h
qla_dfs.c scsi: qla2xxx: Fix NULL vs IS_ERR() bug for debugfs_create_dir() 2023-09-23 11:01:09 +02:00
qla_dsd.h
qla_fw.h
qla_gbl.h scsi: qla2xxx: Fix crash in PCIe error handling 2023-09-19 12:20:29 +02:00
qla_gs.c scsi: qla2xxx: Fix losing FCP-2 targets during port perturbation tests 2022-08-21 15:16:14 +02:00
qla_init.c scsi: qla2xxx: Flush mailbox commands on chip reset 2023-09-19 12:20:29 +02:00
qla_inline.h scsi: qla2xxx: Fix crash in PCIe error handling 2023-09-19 12:20:29 +02:00
qla_iocb.c scsi: qla2xxx: Fix crash in PCIe error handling 2023-09-19 12:20:29 +02:00
qla_isr.c scsi: qla2xxx: Fix crash in PCIe error handling 2023-09-19 12:20:29 +02:00
qla_mbx.c scsi: qla2xxx: Flush mailbox commands on chip reset 2023-09-19 12:20:29 +02:00
qla_mid.c
qla_mr.c scsi: qla2xxx: Turn off target reset during issue_lip 2021-11-18 14:04:25 +01:00
qla_mr.h
qla_nvme.c scsi: qla2xxx: Fix crash in PCIe error handling 2023-09-19 12:20:29 +02:00
qla_nvme.h
qla_nx2.c
qla_nx2.h
qla_nx.c scsi: qla2xxx: Fix error return code in qla82xx_write_flash_dword() 2021-05-26 12:06:48 +02:00
qla_nx.h
qla_os.c scsi: qla2xxx: Flush mailbox commands on chip reset 2023-09-19 12:20:29 +02:00
qla_settings.h
qla_sup.c scsi: qla2xxx: Add devids and conditionals for 28xx 2022-04-08 14:40:37 +02:00
qla_target.c scsi: qla2xxx: Fix deletion race condition 2023-09-19 12:20:24 +02:00
qla_target.h
qla_tmpl.c
qla_tmpl.h
qla_version.h
tcm_qla2xxx.c
tcm_qla2xxx.h