From: Joe Handzik Date: Wed, 21 May 2014 16:16:01 +0000 (-0500) Subject: hpsa: fix bad comparison of signed with unsigned in hpsa_update_scsi_devices X-Git-Tag: omap-for-v3.16/fixes-against-rc1~13^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bbf5c7f9fe8fea2b2ccf02b9b5d2cbd997f2de1;p=pandora-kernel.git hpsa: fix bad comparison of signed with unsigned in hpsa_update_scsi_devices rescan_hba_mode was defined as a u8 so could never be less than zero: rescan_hba_mode = hpsa_hba_mode_enabled(h); if (rescan_hba_mode < 0) goto out; Signed-off-by: Joe Handzik Signed-off-by: Stephen M. Cameron Reported-by: Dan Carpenter Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed