Re: [stable] [PATCH] hpsa: fix problem that OBDR devices are notdetected

From: Greg KH
Date: Tue Aug 09 2011 - 12:30:55 EST


On Tue, Aug 09, 2011 at 08:17:30AM -0500, Stephen M. Cameron wrote:
> From: Stephen M. Cameron <scameron@xxxxxxxxxxxxxxxxxx>
>
> 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 <scameron@xxxxxxxxxxxxxxxxxx>
> ---
> drivers/scsi/hpsa.c | 47 +++++++++++++++++++++++++++--------------------
> 1 files changed, 27 insertions(+), 20 deletions(-)
>


<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree. Please read Documentation/stable_kernel_rules.txt
for how to do this properly.

</formletter>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/