]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
scsi: lpfc: Fix a kernel warning triggered by lpfc_get_sgl_per_hdwq()
authorBart Van Assche <bvanassche@acm.org>
Thu, 7 Nov 2019 05:21:54 +0000 (21:21 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 9 Nov 2019 02:28:23 +0000 (21:28 -0500)
commit765ab6cdac3b681952da0e22184bf6cf1ae41cf8
treeab44e51d732a3e179775d1cc8b594adde6e65228
parenta10c8803d0dbab54370eeac2a07e6540c6215908
scsi: lpfc: Fix a kernel warning triggered by lpfc_get_sgl_per_hdwq()

Fix the following kernel bug report:

BUG: using smp_processor_id() in preemptible [00000000] code: systemd-udevd/954

Fixes: d79c9e9d4b3d ("scsi: lpfc: Support dynamic unbounded SGL lists on G7 hardware.")
Link: https://lore.kernel.org/r/20191107052158.25788-2-bvanassche@acm.org
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_sli.c