From: Matthew Wilcox Date: Sun, 9 Sep 2007 14:56:36 +0000 (-0600) Subject: [SCSI] advansys: Support 16-byte commands properly X-Git-Tag: v2.6.24-rc1~1290^2~122 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f05ec594fed6890d38bb8767676f626a4035ba55;p=pandora-kernel.git [SCSI] advansys: Support 16-byte commands properly The SCSI midlayer won't send commands greater than ->max_cmd_len. So the checks on length in asc_build_req and adv_build_req are obsolete and can be deleted, but also we have to set the max_cmd_len in advansys_board_found(). Also move the length definitions together, and write a helpful comment. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley --- Reading git-diff-tree failed