]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nvme-fc: move common code into helper
authorChaitanya Kulkarni <kch@nvidia.com>
Wed, 30 Nov 2022 21:33:41 +0000 (13:33 -0800)
committerChristoph Hellwig <hch@lst.de>
Tue, 6 Dec 2022 08:27:24 +0000 (09:27 +0100)
commitb2969585572e5ddaa239d53ee68e2824df7a7736
treec649feafd575731f4d54fac4cfa402c361804057
parent6c90294d72a99e3ed51516124ba0984e28937d2d
nvme-fc: move common code into helper

Add a helper to move the duplicate code for error message
from nvme_fc_rcv_ls_req() to nvme_fc_rcv_ls_req_err_msg().

Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/fc.c