diff options
author | Stephen M. Cameron <[email protected]> | 2011-08-09 08:17:30 -0500 |
---|---|---|
committer | James Bottomley <[email protected]> | 2011-08-26 12:49:04 -0700 |
commit | 0b0e1d6cbcc8627970e0399df8f06edd690ec7d9 (patch) | |
tree | 18f4f39869347d5ea5b61d7f7fe4503663ba2e16 /lib/mpi/mpiutil.c | |
parent | 98e2a5a3a125608505783bdb95744997f76b3c30 (diff) |
[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 <[email protected]>
Cc: [email protected]
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions