sg: relax 16 byte cdb restriction
authorDouglas Gilbert <dgilbert@interlog.com>
Tue, 3 Jun 2014 17:18:18 +0000 (13:18 -0400)
committerChristoph Hellwig <hch@lst.de>
Thu, 17 Jul 2014 20:07:33 +0000 (22:07 +0200)
commit65c26a0f39695ba01d9693754f27ca76cc8a3ab5
tree040940d590d3dafd9eb65c843526a1c4476a8063
parentbcdb247c6b6a1f3e72b9b787b73f47dd509d17ec
sg: relax 16 byte cdb restriction

 - remove the 16 byte CDB (SCSI command) length limit from the sg driver
   by handling longer CDBs the same way as the bsg driver. Remove comment
   from sg.h public interface about the cmd_len field being limited to 16
   bytes.
 - remove some dead code caused by this change
 - cleanup comment block at the top of sg.h, fix urls

Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/sg.c
include/scsi/sg.h