]> Git Repo - linux.git/commit
nvme-tcp: Fix warning with CONFIG_DEBUG_PREEMPT
authorSagi Grimberg <[email protected]>
Wed, 13 Jan 2021 22:03:04 +0000 (14:03 -0800)
committerChristoph Hellwig <[email protected]>
Thu, 14 Jan 2021 19:27:35 +0000 (20:27 +0100)
commitada831772188192243f9ea437c46e37e97a5975d
tree4fd443a9649a16cd4925800b29e1b710c7a52c27
parent7a84665619bb5da8c8b6517157875a1fd7632014
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 <[email protected]>
Reported-by: Yi Zhang <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
drivers/nvme/host/tcp.c
This page took 0.048728 seconds and 4 git commands to generate.