Message ID | 20210125183157.736898314@linuxfoundation.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp4536992jam; Mon, 25 Jan 2021 18:31:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJw7hdZ6qTpejFq8jtrxwRP/f+eBd3OqiTTxxIz4bBUpS0MHBbkTC7rDufuBsRKgBH/UMwM+ X-Received: by 2002:aa7:c399:: with SMTP id k25mr2895424edq.305.1611628268436; Mon, 25 Jan 2021 18:31:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611628268; cv=none; d=google.com; s=arc-20160816; b=BRtTxJ1dto7YyParbbJGYdadTiE95a07SjVlFJ/wpsoHx5CoReLOzpO4zKN10XyzSP pJyiPL9W8cnOiSQizDsf9Sc6P1/ER/RGjqBJL1wa7fQg+QEg/MYliqkqcW00XEnGTXpT yGY10LOsojkHyfpKn9idEfndIFU2IRMzGO07vjL33phbySZs5wr6+D7JUCya/4VoP2lx P7vDS2yciOUALiNW+0EpiKcYkSB1Kuxp/N5gt6SBz2XR4M93+x+3Es0RjME7S8cjE5Ga SWh26WU9hRoo7pQZnmMNL60hM7svwY2lBRzNpTRURr/Fu0CY6l5Nxe85JBXB3DCyZ96M JN9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=e0aRTwdpwLjcye0j+GJiFk2+JFwEX8kkKGokMfrUtGU=; b=GuN5PemYOUkeqtGGt/StV7So7fWOy+syblyHT+HQf3B0Lhz82Ym/C77P/ISsVvm6q0 pnOJdJDU9sPuhPLFEtjMITtdFSICUr+S2EZ95LmekRBJ1OS+hJfNQ77SwBm9evZ5F+r/ P19dkat6Wcw/UJhQcAheN0C6iTWBzHC8BPb6GGjz0Dcf6cumhAmvoW4doClo3j2DaAjF e15erga5gOJ//LJJXUX2IMDK6qTF61O1S4MLnBnd5OCuIAj/mGNpvmrdmU+Dxbrd9Bvd zdusRHcUl/h4VhYm0pMirJCP9r6f82lGT7f+SdiRp6mmZHSAhUFwjXwC0gDetsR1NrWD tmkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wHsHyJW3; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f23si7957703edm.270.2021.01.25.18.31.08; Mon, 25 Jan 2021 18:31:08 -0800 (PST) Received-SPF: pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wHsHyJW3; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727379AbhAYSmh (ORCPT <rfc822;semen.protsenko@linaro.org> + 13 others); Mon, 25 Jan 2021 13:42:37 -0500 Received: from mail.kernel.org ([198.145.29.99]:58458 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727145AbhAYSm3 (ORCPT <rfc822;stable@vger.kernel.org>); Mon, 25 Jan 2021 13:42:29 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7D62320665; Mon, 25 Jan 2021 18:41:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1611600084; bh=LzI0L2NqO0MGnBms4BkXDnOE6izfjAqWGxoMyYwO2d4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wHsHyJW3oksGY9eTbM3Y3NOGpSLd4Wk8z8qugDagZLgZyD+zH0MIqMAc24ZIEPyPC LF6AJep1qDK/VzxmZgSLEuJ8yLiEvfoHxmguyrJ66kpXyyGR4FVRyBVqFJ+Kfb8CRE DM2QiX6VfyNvFF8PQUO5kJ9+3JdAHPnHrQ6Ly+uY= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Phil Oester <kernel@linuxace.com>, Arnd Bergmann <arnd@arndb.de>, "Martin K. Petersen" <martin.petersen@oracle.com>, Sasha Levin <sashal@kernel.org> Subject: [PATCH 4.19 24/58] scsi: megaraid_sas: Fix MEGASAS_IOC_FIRMWARE regression Date: Mon, 25 Jan 2021 19:39:25 +0100 Message-Id: <20210125183157.736898314@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210125183156.702907356@linuxfoundation.org> References: <20210125183156.702907356@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c index 83d25ee88f028..8877a21102f1d 100644 --- a/drivers/scsi/megaraid/megaraid_sas_base.c +++ b/drivers/scsi/megaraid/megaraid_sas_base.c @@ -7323,11 +7323,9 @@ megasas_mgmt_fw_ioctl(struct megasas_instance *instance, goto out; } + /* always store 64 bits regardless of addressing */ sense_ptr = (void *)cmd->frame + ioc->sense_off; - if (instance->consistent_mask_64bit) - put_unaligned_le64(sense_handle, sense_ptr); - else - put_unaligned_le32(sense_handle, sense_ptr); + put_unaligned_le64(sense_handle, sense_ptr); } /*