From nobody Fri Dec 19 05:26:51 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC3C8C433FE for ; Mon, 3 Oct 2022 07:47:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232305AbiJCHrr (ORCPT ); Mon, 3 Oct 2022 03:47:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229529AbiJCHrG (ORCPT ); Mon, 3 Oct 2022 03:47:06 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DFE958B6F; Mon, 3 Oct 2022 00:26:46 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 309EA60FB7; Mon, 3 Oct 2022 07:25:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3F197C433D7; Mon, 3 Oct 2022 07:25:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1664781922; bh=x1TsmQwnhKpWtR98rfenZukIz1vkN+WDBx41TaE2b5E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R6kokqxU1lToGjed5nL3zoTBNQQgvXvuBvk8Js8almTPBAlsFwKhnvsEqC28e3JDA 29Onc8+qqrHtUIRyoKy9GFOojQWrmNAvyUm9RnJZy803pfKHAqXB0f2gSLX6AZu6FO lfizdGJKaNTE6gvu17+CflgPgRhsnxzWfS/aCX60= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chaitanya Kulkarni , Christoph Hellwig , Sasha Levin Subject: [PATCH 4.19 22/25] nvme: add new line after variable declatation Date: Mon, 3 Oct 2022 09:12:25 +0200 Message-Id: <20221003070716.067118204@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221003070715.406550966@linuxfoundation.org> References: <20221003070715.406550966@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Chaitanya Kulkarni [ Upstream commit f1c772d581843e3a14bbd62ef7e40b56fc307f27 ] Add a new line in functions nvme_pr_preempt(), nvme_pr_clear(), and nvme_pr_release() after variable declaration which follows the rest of the code in the nvme/host/core.c. No functional change(s) in this patch. Signed-off-by: Chaitanya Kulkarni Signed-off-by: Christoph Hellwig Stable-dep-of: c292a337d0e4 ("nvme: Fix IOC_PR_CLEAR and IOC_PR_RELEASE ioc= tls for nvme devices") Signed-off-by: Sasha Levin --- drivers/nvme/host/core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c index a0a805a5ab6b..44ee6dc5e0ca 100644 --- a/drivers/nvme/host/core.c +++ b/drivers/nvme/host/core.c @@ -1716,18 +1716,21 @@ static int nvme_pr_preempt(struct block_device *bde= v, u64 old, u64 new, enum pr_type type, bool abort) { u32 cdw10 =3D nvme_pr_type(type) << 8 | (abort ? 2 : 1); + return nvme_pr_command(bdev, cdw10, old, new, nvme_cmd_resv_acquire); } =20 static int nvme_pr_clear(struct block_device *bdev, u64 key) { u32 cdw10 =3D 1 | (key ? 1 << 3 : 0); + return nvme_pr_command(bdev, cdw10, key, 0, nvme_cmd_resv_register); } =20 static int nvme_pr_release(struct block_device *bdev, u64 key, enum pr_typ= e type) { u32 cdw10 =3D nvme_pr_type(type) << 8 | (key ? 1 << 3 : 0); + return nvme_pr_command(bdev, cdw10, key, 0, nvme_cmd_resv_release); } =20 --=20 2.35.1