diff options
| author | James Smart <jsmart2021@gmail.com> | 2019-11-15 16:38:47 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-23 08:23:01 +0100 |
| commit | b1b105a633ff74a46b4d2061ee4258a912e0faf8 (patch) | |
| tree | c53e904ca05d10feb812f869174d770944ba523e /Makefile | |
| parent | 0c079ad6506b7cb5433e2ebd4ce0a4dc2afd0f9a (diff) | |
| download | linux-b1b105a633ff74a46b4d2061ee4258a912e0faf8.tar.gz linux-b1b105a633ff74a46b4d2061ee4258a912e0faf8.tar.bz2 linux-b1b105a633ff74a46b4d2061ee4258a912e0faf8.zip | |
scsi: lpfc: use hdwq assigned cpu for allocation
[ Upstream commit 4583a4f66b323c6e4d774be2649e83a4e7c7b78c ]
Looking at the recent conversion from smp_processor_id() to
raw_smp_processor_id(), realized that the allocation should be based on the
cpu the hdwq is bound to, not the executing cpu.
Revise to pull cpu number from the hdwq
Fixes: 765ab6cdac3b ("scsi: lpfc: Fix a kernel warning triggered by lpfc_get_sgl_per_hdwq()")
Link: https://lore.kernel.org/r/20191116003847.6141-1-jsmart2021@gmail.com
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
