linux/drivers/scsi/lpfc
Jinjie Ruan e1a27664fc scsi: lpfc: Fix the NULL vs IS_ERR() bug for debugfs_create_file()
[ Upstream commit 7dcc683db3 ]

Since debugfs_create_file() returns ERR_PTR and never NULL, use IS_ERR() to
check the return value.

Fixes: 2fcbc569b9 ("scsi: lpfc: Make debugfs ktime stats generic for NVME and SCSI")
Fixes: 4c47efc140 ("scsi: lpfc: Move SCSI and NVME Stats to hardware queue structures")
Fixes: 6a828b0f61 ("scsi: lpfc: Support non-uniform allocation of MSIX vectors to hardware queues")
Fixes: 95bfc6d8ad ("scsi: lpfc: Make FW logging dynamically configurable")
Fixes: 9f77870870 ("scsi: lpfc: Add debugfs support for cm framework buffers")
Fixes: c490850a09 ("scsi: lpfc: Adapt partitioned XRI lists to efficient sharing")
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/r/20230906030809.2847970-1-ruanjinjie@huawei.com
Reviewed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-23 11:10:01 +02:00
..
lpfc_attr.c
lpfc_attr.h
lpfc_bsg.c scsi: lpfc: Fix incorrect big endian type assignment in bsg loopback path 2023-09-19 12:22:29 +02:00
lpfc_bsg.h
lpfc_compat.h
lpfc_crtn.h scsi: lpfc: Rework MIB Rx Monitor debug info logic 2022-11-10 18:15:24 +01:00
lpfc_ct.c Revert "scsi: lpfc: SLI path split: Refactor lpfc_iocbq" 2022-11-03 23:59:14 +09:00
lpfc_debugfs.c scsi: lpfc: Fix the NULL vs IS_ERR() bug for debugfs_create_file() 2023-09-23 11:10:01 +02:00
lpfc_debugfs.h scsi: lpfc: Rework MIB Rx Monitor debug info logic 2022-11-10 18:15:24 +01:00
lpfc_disc.h
lpfc_els.c Revert "scsi: lpfc: SLI path split: Refactor lpfc_iocbq" 2022-11-03 23:59:14 +09:00
lpfc_hbadisc.c scsi: lpfc: Fix EEH support for NVMe I/O 2022-08-17 14:24:20 +02:00
lpfc_hw4.h Revert "scsi: lpfc: SLI path split: Refactor fast and slow paths to native SLI4" 2022-11-03 23:59:14 +09:00
lpfc_hw.h
lpfc_ids.h
lpfc_init.c scsi: lpfc: Fix ioremap issues in lpfc_sli4_pci_mem_setup() 2023-05-11 23:00:28 +09:00
lpfc_logmsg.h
lpfc_mbox.c
lpfc_mem.c scsi: lpfc: Rework MIB Rx Monitor debug info logic 2022-11-10 18:15:24 +01:00
lpfc_nl.h
lpfc_nportdisc.c Revert "scsi: lpfc: SLI path split: Refactor lpfc_iocbq" 2022-11-03 23:59:14 +09:00
lpfc_nvme.c Revert "scsi: lpfc: SLI path split: Refactor lpfc_iocbq" 2022-11-03 23:59:14 +09:00
lpfc_nvme.h Revert "scsi: lpfc: SLI path split: Refactor lpfc_iocbq" 2022-11-03 23:59:14 +09:00
lpfc_nvmet.c Revert "scsi: lpfc: SLI path split: Refactor lpfc_iocbq" 2022-11-03 23:59:14 +09:00
lpfc_scsi.c scsi: lpfc: Remove reftag check in DIF paths 2023-09-19 12:22:29 +02:00
lpfc_scsi.h
lpfc_sli4.h scsi: lpfc: Fix EEH support for NVMe I/O 2022-08-17 14:24:20 +02:00
lpfc_sli.c scsi: lpfc: Avoid usage of list iterator variable after loop 2023-03-30 12:47:54 +02:00
lpfc_sli.h Revert "scsi: lpfc: SLI path split: Refactor lpfc_iocbq" 2022-11-03 23:59:14 +09:00
lpfc_version.h
lpfc_vport.c
lpfc_vport.h
lpfc.h scsi: lpfc: Rework MIB Rx Monitor debug info logic 2022-11-10 18:15:24 +01:00
Makefile