]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: bsg: Remove support for SCSI_IOCTL_SEND_COMMAND
authorChristoph Hellwig <hch@lst.de>
Sat, 24 Jul 2021 07:20:10 +0000 (09:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Sep 2021 10:26:23 +0000 (12:26 +0200)
commit741d2abd650edccd6dd41c530e11a8c09a6feb4d
treecf73c82966f742e5ac28202fca2bf57aa71d06b6
parenta37c81bfd425675531ac140c0c449c35ff700351
scsi: bsg: Remove support for SCSI_IOCTL_SEND_COMMAND

[ Upstream commit beec64d0c9749afedf51c3c10cf52de1d9a89cc0 ]

SCSI_IOCTL_SEND_COMMAND has been deprecated longer than bsg exists and has
been warning for just as long.  More importantly it harcodes SCSI CDBs and
thus will do the wrong thing on non-SCSI bsg nodes.

Link: https://lore.kernel.org/r/20210724072033.1284840-2-hch@lst.de
Fixes: d5d338e98869 ("block: add bsg helper library")
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
block/bsg.c