Message ID | 20200218190421.514862902@linuxfoundation.org |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=OEC5=4G=vger.kernel.org=stable-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C52AC34049 for <stable@archiver.kernel.org>; Tue, 18 Feb 2020 19:56:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5CB1B2464E for <stable@archiver.kernel.org>; Tue, 18 Feb 2020 19:56:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582055797; bh=Vs7DEG0fjOuXsXQAQeshA/K3bR3pQWvBOTpuKjABMno=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=Jnz/MAGFKDYtQZ8Sp2f2VC14DhAJh7mdr95602D03RTexNozndzx4YcMICPeSMTyo ta7kEy6FjhbXwANm2XQ//Tzzpx9i3/1QKUNsu79VzHXLjV00j5MCslgCDCMzx1y4JN C4sUMEIvLLKcamtnE5UzlJvmKfXlIMwPt5/IU6ZI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726401AbgBRT4g (ORCPT <rfc822;stable@archiver.kernel.org>); Tue, 18 Feb 2020 14:56:36 -0500 Received: from mail.kernel.org ([198.145.29.99]:33662 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727333AbgBRT4g (ORCPT <rfc822;stable@vger.kernel.org>); Tue, 18 Feb 2020 14:56:36 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 601652465D; Tue, 18 Feb 2020 19:56:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582055795; bh=Vs7DEG0fjOuXsXQAQeshA/K3bR3pQWvBOTpuKjABMno=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Fwc3xQJcWv44fh5J+3EB4Ct/JvM5qyCpcaLZr7u/uaYR/6fLfdcP2x5O3shkOnPte yZYcW634xKCZppMpKHeLeaeykCYy9eYBvShUnVAP/pp1ROtQHLb1giryRpVGxSJFXL xS/RbQodi/gdIJT6CDKf5Lv070L8ZNTLvITH+1CY= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Sujith Pandel <sujith_pandel@dell.com>, David Milburn <dmilburn@redhat.com>, Yi Zhang <yi.zhang@redhat.com>, Keith Busch <kbusch@kernel.org>, Jens Axboe <axboe@kernel.dk> Subject: [PATCH 4.19 24/38] nvme: fix the parameter order for nvme_get_log in nvme_get_fw_slot_info Date: Tue, 18 Feb 2020 20:55:10 +0100 Message-Id: <20200218190421.514862902@linuxfoundation.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200218190418.536430858@linuxfoundation.org> References: <20200218190418.536430858@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
--- a/drivers/nvme/host/core.c +++ b/drivers/nvme/host/core.c @@ -3449,7 +3449,7 @@ static void nvme_get_fw_slot_info(struct if (!log) return; - if (nvme_get_log(ctrl, NVME_NSID_ALL, 0, NVME_LOG_FW_SLOT, log, + if (nvme_get_log(ctrl, NVME_NSID_ALL, NVME_LOG_FW_SLOT, 0, log, sizeof(*log), 0)) dev_warn(ctrl->device, "Get FW SLOT INFO log error\n"); kfree(log);