diff options
| author | Sagi Grimberg <[email protected]> | 2021-03-15 20:53:47 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2021-03-18 04:39:01 +0000 |
| commit | bb83337058a7000644cdeffc67361d2473534756 (patch) | |
| tree | 5632a838e0489afa182e4b366853a60cc5b46c39 /drivers/usb/cdns3/cdns3-plat.c | |
| parent | nvme-tcp: fix a NULL deref when receiving a 0-length r2t PDU (diff) | |
| download | kernel-bb83337058a7000644cdeffc67361d2473534756.tar.gz kernel-bb83337058a7000644cdeffc67361d2473534756.zip | |
nvme-tcp: fix misuse of __smp_processor_id with preemption enabled
For our pure advisory use-case, we only rely on this call as a hint, so
fix the warning complaints of using the smp_processor_id variants with
preemption enabled.
Fixes: db5ad6b7f8cd ("nvme-tcp: try to send request in queue_rq context")
Fixes: ada831772188 ("nvme-tcp: Fix warning with CONFIG_DEBUG_PREEMPT")
Signed-off-by: Sagi Grimberg <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Tested-by: Yi Zhang <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions
