linux_dsm_epyc7002/drivers/nvme
Sagi Grimberg 76600f633b nvme-tcp: Fix warning with CONFIG_DEBUG_PREEMPT
commit ada831772188192243f9ea437c46e37e97a5975d upstream.

We shouldn't call smp_processor_id() in a preemptible
context, but this is advisory at best, so instead
call __smp_processor_id().

Fixes: db5ad6b7f8 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-01-19 18:27:30 +01:00
..
host nvme-tcp: Fix warning with CONFIG_DEBUG_PREEMPT 2021-01-19 18:27:30 +01:00
target nvmet-rdma: Fix NULL deref when setting pi_enable and traddr INADDR_ANY 2021-01-19 18:27:30 +01:00
Kconfig
Makefile