diff options
author | 2021-01-13 14:03:04 -0800 | |
---|---|---|
committer | 2021-01-14 20:27:35 +0100 | |
commit | ada831772188192243f9ea437c46e37e97a5975d (patch) | |
tree | 4fd443a9649a16cd4925800b29e1b710c7a52c27 /net/lapb/lapb_timer.c | |
parent | nvmet-rdma: Fix NULL deref when setting pi_enable and traddr INADDR_ANY (diff) | |
download | wireguard-linux-ada831772188192243f9ea437c46e37e97a5975d.tar.xz wireguard-linux-ada831772188192243f9ea437c46e37e97a5975d.zip |
nvme-tcp: Fix warning with CONFIG_DEBUG_PREEMPT
We shouldn't call smp_processor_id() in a preemptible
context, but this is advisory at best, so instead
call __smp_processor_id().
Fixes: db5ad6b7f8cd ("nvme-tcp: try to send request in queue_rq context")
Reported-by: Or Gerlitz <gerlitz.or@gmail.com>
Reported-by: Yi Zhang <yi.zhang@redhat.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions