* [PATCH 4/6] scsi: lpfc: Use PCI_HEADER_TYPE_MFD instead of literal
[not found] <20231124090919.23687-1-ilpo.jarvinen@linux.intel.com>
@ 2023-11-24 9:09 ` Ilpo Järvinen
2023-12-06 1:41 ` Martin K. Petersen
0 siblings, 1 reply; 2+ messages in thread
From: Ilpo Järvinen @ 2023-11-24 9:09 UTC (permalink / raw)
To: James Smart, Dick Kennedy, James E.J. Bottomley,
Martin K. Petersen, linux-scsi, linux-kernel
Cc: Ilpo Järvinen
Replace literal 0x80 with PCI_HEADER_TYPE_MFD.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
---
drivers/scsi/lpfc/lpfc_sli.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
index 9386e7b44750..4ac6afd3c2fe 100644
--- a/drivers/scsi/lpfc/lpfc_sli.c
+++ b/drivers/scsi/lpfc/lpfc_sli.c
@@ -4875,7 +4875,7 @@ void lpfc_reset_barrier(struct lpfc_hba *phba)
lockdep_assert_held(&phba->hbalock);
pci_read_config_byte(phba->pcidev, PCI_HEADER_TYPE, &hdrtype);
- if (hdrtype != 0x80 ||
+ if (hdrtype != PCI_HEADER_TYPE_MFD ||
(FC_JEDEC_ID(phba->vpd.rev.biuRev) != HELIOS_JEDEC_ID &&
FC_JEDEC_ID(phba->vpd.rev.biuRev) != THOR_JEDEC_ID))
return;
--
2.30.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 4/6] scsi: lpfc: Use PCI_HEADER_TYPE_MFD instead of literal
2023-11-24 9:09 ` [PATCH 4/6] scsi: lpfc: Use PCI_HEADER_TYPE_MFD instead of literal Ilpo Järvinen
@ 2023-12-06 1:41 ` Martin K. Petersen
0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2023-12-06 1:41 UTC (permalink / raw)
To: Ilpo Järvinen
Cc: James Smart, Dick Kennedy, James E.J. Bottomley,
Martin K. Petersen, linux-scsi, linux-kernel
Ilpo,
> Replace literal 0x80 with PCI_HEADER_TYPE_MFD.
Applied to 6.8/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-12-06 1:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20231124090919.23687-1-ilpo.jarvinen@linux.intel.com>
2023-11-24 9:09 ` [PATCH 4/6] scsi: lpfc: Use PCI_HEADER_TYPE_MFD instead of literal Ilpo Järvinen
2023-12-06 1:41 ` Martin K. Petersen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox