[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1leixoqt0.fsf@ca-mkp.ca.oracle.com>
Date: Tue, 11 Apr 2023 21:03:19 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: lishuchang@...t.edu.cn
Cc: James Smart <james.smart@...adcom.com>,
Dick Kennedy <dick.kennedy@...adcom.com>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
hust-os-kernel-patches@...glegroups.com,
James Smart <jsmart2021@...il.com>, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] scsi: lpfc: fix ioremap issues in
'lpfc_sli4_pci_mem_setup'
> When if_type equals to zero and pci_resource_start(pdev,
> PCI_64BIT_BAR4) returns false, drbl_regs_memmap_p is not remapped.This
> passes a NULL pointer to iounmap(), which can trigger a WARN() on
> certain arches.
Applied to 6.4/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists