scsi: make the sense header argument to scsi_test_unit_ready mandatory
authorChristoph Hellwig <hch@lst.de>
Tue, 14 Feb 2017 19:15:57 +0000 (20:15 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 23 Feb 2017 00:35:24 +0000 (19:35 -0500)
commit74a78ebda4fa5c5ae87fc501152863ee31c17da4
treec014cfa9f47dae80e4e2dbb3d7557a3fdb000ac0
parent6fa2b8f9e3ae8dd770d8fa264825f86b146381c8
scsi: make the sense header argument to scsi_test_unit_ready mandatory

It's a tiny structure that can be allocated on the stack, don't
complicate the code by making it optional.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/osd/osd_uld.c
drivers/scsi/scsi_ioctl.c
drivers/scsi/scsi_lib.c