]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1e79cac512e4a413e43247915989f1eb3ef4510d
tree040940d590d3dafd9eb65c843526a1c4476a8063
parentb7bb22bd5428aa1314ff469501d4c895990a8eb0
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