Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp19889imu; Thu, 8 Nov 2018 14:02:31 -0800 (PST) X-Google-Smtp-Source: AJdET5fxzKutY3U3DSSVvWQabKinEHON7oYbmpzp4vX9ELrLzsx2DaIRngthvDBG79ISEg6Ifzk3 X-Received: by 2002:a63:27c1:: with SMTP id n184-v6mr5248453pgn.334.1541714551519; Thu, 08 Nov 2018 14:02:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541714551; cv=none; d=google.com; s=arc-20160816; b=LRj3aTcnqRm1hqS9GL7i3nV0/5G25B9vulP28rH/01vOa5MjFKzlcLcC+bjzIUV49K vqjzTxpcjXabf19ssXtOtjijVHZDJngduZSdx7xtrWdjSSbEQX8OuqKgByDNh0lLHmpx rFylm6m/8d0oUk7LpcLWXL2RonR8NXvgnRnTZPuMAV411CQ6KEEFAO7bgiB17cqxmdb8 M6Sr4wPQmqi5cUuwmJkUxsnVrkm/wHe4jE+G3OdoAiQN/4b4/vbkp7s/FeyNkJFjsoJ8 9iRT1gD2Vn1HpD2/6v2xP1ymzWF6QLVUAFlaUPjyzs5XqNhiDhMmmjFixVYSC0El1hf5 yVLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=JCMPxTgzh0xtyORHd5wbX/nYkFhN0pvrmR7BkLtLxD0=; b=eiebx4UzkUjG4qWWdLknflmkrM6tTAdNZRbxQYC3mJ6IQ0y9zyKuKIuPJtmYx9O3Ep 2j4U04LwHGbUJ+wdHa/NEANbnbCRCWUwGCcpzKrYTA5zVtxNiOQU5A6NisI7gY0Ytzao INS2/XAUY7NvnuG7+y7m83b9PBJy/7NIcuQbEles20dWLsLbR3a14OYJrsVFQp0RL4aK wgW1y2VwgKrI+TnqyEgGbRI3HAQx7QUiXeTHg7omAJke2FqwQ40GTy5eHbSq71R2enDA GOIGaq7D4umvW1YuF6NeTaynC4CgrHwTyzcWZZJdp4mp3bAKv3cJDJXerI6EaJvh0XlT Stcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LaFGqaFV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a5-v6si641099plh.157.2018.11.08.14.02.16; Thu, 08 Nov 2018 14:02:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LaFGqaFV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730850AbeKIHir (ORCPT + 99 others); Fri, 9 Nov 2018 02:38:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:58308 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728539AbeKIHiq (ORCPT ); Fri, 9 Nov 2018 02:38:46 -0500 Received: from localhost (unknown [208.72.13.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A0914208E3; Thu, 8 Nov 2018 22:01:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541714477; bh=7vgvsFZDGctLbsJgkCYBKqFNt9Ef657BNwLHxlfeH+k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LaFGqaFVT10pkKf+BCAF+Fh+pUniX52pF+3My7xznVJG6rRSKxGaa6TOdxSxRQmWH WOVM86wdVtoCyMXQTjXHvGrYTAHHWi5KAjBl0r/ntHENa67OpbY020Isit3Qjyl7xJ oEgq/XxqYqki7JhIHR/I4/Cxmy9knkrTq6GnY/so= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Dan Carpenter , Raghava Aditya Renukunta , Dave Carroll , "Martin K. Petersen" , Sasha Levin Subject: [PATCH 4.4 080/114] scsi: aacraid: Fix typo in blink status Date: Thu, 8 Nov 2018 13:51:35 -0800 Message-Id: <20181108215108.188143334@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181108215059.051093652@linuxfoundation.org> References: <20181108215059.051093652@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit 934767c56b0d9dbb95a40e9e6e4d9dcdc3a165ad ] The return status of the adapter check on KERNEL_PANIC is supposed to be the upper 16 bits of the OMR status register. Fixes: c421530bf848604e (scsi: aacraid: Reorder Adpater status check) Reported-by: Dan Carpenter Signed-off-by: Raghava Aditya Renukunta Reviewed-by: Dave Carroll Signed-off-by: Martin K. Petersen Signed-off-by: Sasha Levin --- drivers/scsi/aacraid/src.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/aacraid/src.c b/drivers/scsi/aacraid/src.c index e415e1c58eb5..cf3ac0654a3a 100644 --- a/drivers/scsi/aacraid/src.c +++ b/drivers/scsi/aacraid/src.c @@ -444,7 +444,7 @@ err_out: return -1; err_blink: - return (status > 16) & 0xFF; + return (status >> 16) & 0xFF; } /** -- 2.17.1