Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1973172ima; Thu, 25 Oct 2018 07:47:17 -0700 (PDT) X-Google-Smtp-Source: AJdET5c4WLLq+VkM3anpl4XM9PTQwhX3vyZaXpH5YRJrm10zDfllVBliBOhpzP+T0/dRNH3t6Wa7 X-Received: by 2002:a63:5f41:: with SMTP id t62mr1776954pgb.76.1540478837753; Thu, 25 Oct 2018 07:47:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540478837; cv=none; d=google.com; s=arc-20160816; b=Atpq+fmjHE6ZlstADaUJNlDvxH61abvYKa6kSX8i6d8B6M8iYA1znYzVcXwprVYR2d tHks9O7zD8KMv5azNO4Volas+4DzqrOZEiDeWkoanR2WflFWmqnq8PvxVnnBvdrKa9Qe vwNVkLRC5gdAhVIqRLlMFpAn4jFcD5QaYikRwrxjw43D+7vUWhJ2k3jEbBOU8XgVom3e t0ZqaN4+5IABoaEwPqhkHB25nTkpfYqGIleXiNY+LIsPYX2yLL0YZWVj9LqFo7pFiX9y 6r6KsDJSvCqKM+GBFGeBdqT4YeevdMD6bazSzmbjrlqtNPrpd1+DEg+uOc0DJNK0rUab hOpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=P77yfjPBKhfSFPiIEjdwIj4yn5pnPI5/M7Rom1NVWiE=; b=uUtvPneb3n9Q3LF3hH7f24CW3zKJUG9IeAliKOzCO65We0lwLcTJPH39LHRsBBYTfA M+zfOFH5P2+GE0KS7eY1CetJF/lxAgFOFCKv64NIZD/VzJVIbHmiXV5ELXratVB5jOWu /NvQquCvAHPLfqc7F3Fs9wbqDI+vdsOySGD/ayH3wIO08uLgUjHmTCJ0JyeQQ/xMkrGT oSdRO7IEt6scbxbzaTWbu/mvzj1fhipiK3b6r51uNvDsJ4U5OmBaaGrnygg44PZqm3L8 bxE+uslg7wyYulgpnFEUvuDE3thsowss4+erYqX/2oyxg3CSRdVXqNmQB3diXCx9Ugq/ diWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bA8DJee5; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c4-v6si8642838pgt.54.2018.10.25.07.47.01; Thu, 25 Oct 2018 07:47:17 -0700 (PDT) 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=bA8DJee5; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728545AbeJYWrc (ORCPT + 99 others); Thu, 25 Oct 2018 18:47:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:55580 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728532AbeJYWrb (ORCPT ); Thu, 25 Oct 2018 18:47:31 -0400 Received: from sasha-vm.mshome.net (unknown [167.98.65.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7FCF72084A; Thu, 25 Oct 2018 14:14:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1540476875; bh=tEgmbX4N2SkOewI9wsLi1tZTBx9j1nIirg2YxKoxKHA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bA8DJee5VMP2JguBCfq1xJm8I00r59f8EDQ+NvYBaAyx8+psC99q5zuhjun+CZOzX i0WBw3TLLZiV3E8tuyL6oDtXtHg5CeB8Ypsm6P7f7K0kwpahv2UnoDYFyLypZeXts8 mZd8qQvuCmssQAM0GqtOexu25nozhNEXG7I3pAzA= From: Sasha Levin To: stable@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Raghava Aditya Renukunta , "Martin K . Petersen" , Sasha Levin Subject: [PATCH AUTOSEL 4.9 05/98] scsi: aacraid: Fix typo in blink status Date: Thu, 25 Oct 2018 10:12:50 -0400 Message-Id: <20181025141423.213774-5-sashal@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181025141423.213774-1-sashal@kernel.org> References: <20181025141423.213774-1-sashal@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Raghava Aditya Renukunta [ 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 7b178d765726..c0592fda409e 100644 --- a/drivers/scsi/aacraid/src.c +++ b/drivers/scsi/aacraid/src.c @@ -445,7 +445,7 @@ static int aac_src_check_health(struct aac_dev *dev) return -1; err_blink: - return (status > 16) & 0xFF; + return (status >> 16) & 0xFF; } /** -- 2.17.1