]> 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)
commit2c17bc8b1ad5666c3d4115a7ccaab5c318f5e793
tree040940d590d3dafd9eb65c843526a1c4476a8063
parent7edc29cab300e5e0dad58a502c594cfcbfefd452
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