From: Boaz Harrosh Date: Mon, 16 Nov 2009 18:47:07 +0000 (+0200) Subject: [SCSI] libosd: bug in osd_req_decode_sense_full() X-Git-Tag: v2.6.33-rc1~344^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71ecb74b15377a6c0e0e6ea95d4b549580fb4d48;p=pandora-kernel.git [SCSI] libosd: bug in osd_req_decode_sense_full() The (never tested) osd_sense_attribute_identification case has never worked. The loop was never advanced on. Fix it to work as intended. On 10/30/2009 04:39 PM, Roel Kluin wrote: I found this by code analysis, searching for while loops that test a local variable, but do not modify the variable. Reported-by: Roel Kluin Signed-off-by: Boaz Harrosh Signed-off-by: James Bottomley --- Reading git-diff-tree failed