]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: target/tcmu: Fix queue_cmd_ring() declaration
authorBart Van Assche <bvanassche@acm.org>
Tue, 27 Nov 2018 23:51:55 +0000 (15:51 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2019 08:19:47 +0000 (09:19 +0100)
commita8c0f6334e56a3218f69e7dfa768fb352cef7492
tree98cbcfcb1b4e901133b1771d9861938bdbdd3eee
parent480233f89d42b33f099387c001692a448a105416
scsi: target/tcmu: Fix queue_cmd_ring() declaration

[ Upstream commit e7f411049f5164ee6db6c3434c07302846f09990 ]

This patch does not change any functionality but avoids that sparse
complains about the queue_cmd_ring() function and its callers.

Fixes: 6fd0ce79724d ("tcmu: prep queue_cmd_ring to be used by unmap wq")
Reviewed-by: David Disseldorp <ddiss@suse.de>
Cc: Nicholas Bellinger <nab@linux-iscsi.org>
Cc: Mike Christie <mchristi@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/target/target_core_user.c