From: Stephen M. Cameron Date: Tue, 9 Aug 2011 13:17:30 +0000 (-0500) Subject: [SCSI] hpsa: fix problem that OBDR devices are not detected X-Git-Tag: v3.1-rc7~62^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b0e1d6cbcc8627970e0399df8f06edd690ec7d9;p=pandora-kernel.git [SCSI] hpsa: fix problem that OBDR devices are not detected The test to detect OBDR ("One Button Disaster Recovery") cd-rom devices was comparing against uninitialized data. Fixed by moving the test for the device to where the inquiry data is collected, and uninitialized variable altogether as it wasn't really being used. Signed-off-by: Stephen M. Cameron Cc: stable@kernel.org Signed-off-by: James Bottomley --- Reading git-diff-tree failed