From: Greg KH Subject: Re: [stable] [PATCH] hpsa: fix problem that OBDR devices are not detected Date: Tue, 9 Aug 2011 09:13:22 -0700 Message-ID: <20110809161322.GB8756@kroah.com> References: <20110809131730.10599.22108.stgit@beardog.cce.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from out3.smtp.messagingengine.com ([66.111.4.27]:46439 "EHLO out3.smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753595Ab1HIQaq (ORCPT ); Tue, 9 Aug 2011 12:30:46 -0400 Content-Disposition: inline In-Reply-To: <20110809131730.10599.22108.stgit@beardog.cce.hp.com> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: "Stephen M. Cameron" Cc: james.bottomley@hansenpartnership.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, stable@kernel.org, stephenmcameron@gmail.com, thenzl@redhat.com, akpm@linux-foundation.org, mikem@beardog.cce.hp.com On Tue, Aug 09, 2011 at 08:17:30AM -0500, Stephen M. Cameron wrote: > From: Stephen M. Cameron > > 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 > --- > drivers/scsi/hpsa.c | 47 +++++++++++++++++++++++++++-------------------- > 1 files changed, 27 insertions(+), 20 deletions(-) > 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.