Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01d53c04 authored by James Smart's avatar James Smart Committed by Martin K. Petersen
Browse files

scsi: lpfc: Fix kernel warnings related to smp_processor_id()



Kernel warnings may be seen with preempt debugging enabled.

Replace smp_processor_id calls with raw_smp_processor_id or cpu information
stored in hdwq structures.

Signed-off-by: default avatarDick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: default avatarJames Smart <jsmart2021@gmail.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent aa6ff309
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1642,7 +1642,7 @@ lpfc_sli4_nvmet_xri_aborted(struct lpfc_hba *phba,

		lpfc_nvmeio_data(phba,
				 "NVMET ABTS RCV: xri x%x CPU %02x rjt %d\n",
				 xri, smp_processor_id(), 0);
				 xri, raw_smp_processor_id(), 0);

		req = &ctxp->ctx.fcp_req;
		if (req)