]> asedeno.scripts.mit.edu Git - linux.git/commit
scsi: lpfc: Fix kernel warnings related to smp_processor_id()
authorJames Smart <jsmart2021@gmail.com>
Wed, 22 May 2019 00:49:10 +0000 (17:49 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 18 Jun 2019 23:46:22 +0000 (19:46 -0400)
commit01d53c04637f96bbb753e9c7f61392c40671b564
tree7bbe77f3afc907dd374ffb83400603fa158b6c26
parentaa6ff309187256ee542a8cf47adbfcfdaa888c46
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: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_nvmet.c