From: Roel Kluin Date: Tue, 17 Nov 2009 22:53:22 +0000 (-0800) Subject: [SCSI] st: fix test of value range in st_set_options() X-Git-Tag: v2.6.33-rc1~344^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=832151f45806613f203c4c0308c1566d882b971f;p=pandora-kernel.git [SCSI] st: fix test of value range in st_set_options() value cannot logically be less than START and greater than BUFFERSIZE. #define EXTENDED_SENSE_START 18 // vi include/scsi/scsi_cmnd.h +105 #define SCSI_SENSE_BUFFERSIZE 96 [akpm@linux-foundation.org: fix warning] Signed-off-by: Roel Kluin Signed-off-by: Andrew Morton Acked-by: Kai Makisara Signed-off-by: James Bottomley --- Reading git-diff-tree failed