diff options
author | James Smart <[email protected]> | 2019-11-15 16:38:47 -0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2019-11-19 21:37:34 -0500 |
commit | 4583a4f66b323c6e4d774be2649e83a4e7c7b78c (patch) | |
tree | 5ba18d31c6207d194eb65033120297d1ffe19ea1 /drivers/usb/cdns3/cdns3-imx.c | |
parent | 9b44ffab49e337982d4717cfa6799eceaf7359a3 (diff) |
scsi: lpfc: use hdwq assigned cpu for allocation
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/[email protected]
Signed-off-by: Dick Kennedy <[email protected]>
Signed-off-by: James Smart <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions