From patchwork Mon Oct 24 11:31:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 8365 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp392336wru; Mon, 24 Oct 2022 04:35:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7FjuKhGsYXNGOcrYyJoT8GJrMiHXu/T3aE1T1tiYkLudfA7dJUZ/dqO6RCxR4EWjJFs5s6 X-Received: by 2002:a17:906:c151:b0:78d:cdbc:9fb7 with SMTP id dp17-20020a170906c15100b0078dcdbc9fb7mr25949088ejc.688.1666611306564; Mon, 24 Oct 2022 04:35:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666611306; cv=none; d=google.com; s=arc-20160816; b=WGHYihNfPCPOjvSxOuLWOLPnowwb2LJH6wfvMka8aMQm9hzXvdhOcIB4BbuS/sHcOO MLCWGpZ/DpwucLwVb4KXE7csTIPDCoZllgKQsUbfl9i1mbph8QaLyaBRxTPOzYeBk25L J0BxyDly+YyXk6FLwpWKKn098Sz7m7rMw/d7ptPTOU99h1bJWodj9rQcHIKu6Ttqfym5 /SYx4RFOgKk3lAlAcDFGkRb6Vc1Na+2pDJLgfGRmGsfgyZYG4eGL6vwD+hgJHDUDxQSW LG89lDlO8hMz/M8p8b5MWNENwn7h54Rd0hfK01v2i9rJ6McveN81jYxyJJGGMkqPNFgg jqlA== 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=9aYtkQHX58XJhojciddoeTtKkBk/x4pP33AYkD8PoCY=; b=DNzRJ7tsxkVgzGtUTxwarOFmxvVcaZ7n1NyK8TpG/by0s0FJZnSsHG4YPkSr0GuZPF MWBoy4mFhCpnOO0qTHFVRxaUKVqt9yE8frlGQIBDqNoWoM0FR6C7so0pUsPPs88LxgkG TWKL/KL83BSSrW49dJ97TfRI+Ldkr8UuCu7iAI+eTDg5FVDp/KEXY6SDlQUJuhjOSzhZ Pb3GvM3gpYzK46dglphPRK+iP0GrJL9hc0ktchxVeNli5vAiBumSRWgjOzwkrg+TMX07 xB8zXQeeZ9PJaMrQDq7Yp5Vfy8bbPLAE9HJJeN7TF6oq3GSht8Eq0AAitRIelDLyQxek QpyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Q0fs3t7u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i15-20020a50d74f000000b00458264c2df2si24827421edj.164.2022.10.24.04.34.42; Mon, 24 Oct 2022 04:35:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Q0fs3t7u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S230309AbiJXLcJ (ORCPT + 99 others); Mon, 24 Oct 2022 07:32:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230175AbiJXLcA (ORCPT ); Mon, 24 Oct 2022 07:32:00 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F45756B85; Mon, 24 Oct 2022 04:31:54 -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 2B84B61259; Mon, 24 Oct 2022 11:31:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 374A7C433D6; Mon, 24 Oct 2022 11:31:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666611113; bh=BTxUk6zOdn4AF72fGjbFRugsG+1T5LCy1r/WeFDOWhM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q0fs3t7ufewgnLj0weFPFfygZl7GHa46I+NpSmi56yHdNa7mMJH4x7J46Tpum5l4x yS6P4i5DvnB5JnNTepo+ZQMmXXnu4PJETrmLcLMtUwUKO7Eqaz2d9iyjmtzRaX++Gt qVRfwXJTjIF26ElDeWc5T/G1U3IVXS1EWQHhH6lU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nikos Tsironis , Mike Snitzer Subject: [PATCH 6.0 14/20] dm clone: Fix typo in block_device format specifier Date: Mon, 24 Oct 2022 13:31:16 +0200 Message-Id: <20221024112934.999774239@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024112934.415391158@linuxfoundation.org> References: <20221024112934.415391158@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747568617831271667?= X-GMAIL-MSGID: =?utf-8?q?1747568617831271667?= From: Nikos Tsironis commit 5434ee8d28575b2e784bd5b4dbfc912e5da90759 upstream. Use %pg for printing the block device name, instead of %pd. Fixes: 385411ffba0c ("dm: stop using bdevname") Cc: stable@vger.kernel.org # v5.18+ Signed-off-by: Nikos Tsironis Signed-off-by: Mike Snitzer Signed-off-by: Greg Kroah-Hartman --- drivers/md/dm-clone-target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/md/dm-clone-target.c b/drivers/md/dm-clone-target.c index 811b0a5379d0..2f1cc66d2641 100644 --- a/drivers/md/dm-clone-target.c +++ b/drivers/md/dm-clone-target.c @@ -2035,7 +2035,7 @@ static void disable_passdown_if_not_supported(struct clone *clone) reason = "max discard sectors smaller than a region"; if (reason) { - DMWARN("Destination device (%pd) %s: Disabling discard passdown.", + DMWARN("Destination device (%pg) %s: Disabling discard passdown.", dest_dev, reason); clear_bit(DM_CLONE_DISCARD_PASSDOWN, &clone->flags); }