Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3400828imw; Mon, 18 Jul 2022 07:29:29 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sodJux21MBw3dZqHCbogCvB5j5qAOHG1MmZ61GyqZQzz+Zhd50zByXY+GhujMVRwJlJlGb X-Received: by 2002:a50:fc83:0:b0:43a:742e:5e42 with SMTP id f3-20020a50fc83000000b0043a742e5e42mr36776339edq.118.1658154569294; Mon, 18 Jul 2022 07:29:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658154569; cv=none; d=google.com; s=arc-20160816; b=NZAhnhIQrc+JN9pdm/q45tFslUzI4FsMIp/bJfCFpGoGTJYt7kN032LkvPTfsul9/e g1akABPqjnkTPT6o7fe277zc+KzU7j3HInlFKjgoPsIUoEPLqv0jEg8wALH9SApDA5qx ct4P9Eu6dOJMUpd9Oe7OLSwJMZJnb5jqQi1piZK+V3t4z4IQBNweYGjk47v2BqQrvwb0 MpZr5bOcogHQa0doOuiMabgnVbX0v1OeYJMaBaxnY9uZFhjAjLbZb6OJCTsYFugNKNB6 pCfa5Slu9MONbEOHbIyR7WpCxdFNTFv6ntrT4k5d5MJnfdU6WuVgnGomRQ1+zv5E2Qny CoPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=3htc1sOycKll7mDaf9BLgAgA8qb+A4n1MweJpTP4g0Q=; b=fNWYhKaEuhawUrk0tscmfwW5fYl4NSmuLQKGUAL9rvWH2ZJQnz9mnljWRVOgrA16+s GUKNii95zbf75ehBIHlC9vZVJqVAdlz2vk1Ggd4Nz0E4xDRu5aMzPGRijoUHThtKDnqF z84LdWHVktswPdDVybjJy0DbAIIeTH94frpdgQo14yFf2+YFwxzeOPnoGc0HkZVXOG3d XN55EW/BK46DgsimyRN1UYMtTYyPCjrh1SgZqeYuAD8Jt4ffEHRlxJMqEq0pKGXnekda 3PQP4L0khhjwyLztQC9GAtpSFVSA24Yb7oXPgbIm5Zi3w94KozxHt3xXkInA9qvJ3oC3 v9ag== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pj23-20020a170906d79700b006ff2b8755a6si13703928ejb.393.2022.07.18.07.29.04; Mon, 18 Jul 2022 07:29:28 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235551AbiGRNwh (ORCPT + 99 others); Mon, 18 Jul 2022 09:52:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235487AbiGRNwg (ORCPT ); Mon, 18 Jul 2022 09:52:36 -0400 Received: from dggsgout11.his.huawei.com (unknown [45.249.212.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 527F627FC6; Mon, 18 Jul 2022 06:52:35 -0700 (PDT) Received: from mail02.huawei.com (unknown [172.30.67.153]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4Lmk011gYyzKHsC; Mon, 18 Jul 2022 21:51:29 +0800 (CST) Received: from [10.174.176.73] (unknown [10.174.176.73]) by APP3 (Coremail) with SMTP id _Ch0CgAXemmfZdVijUahAw--.40633S3; Mon, 18 Jul 2022 21:52:32 +0800 (CST) Subject: Re: [PATCH] nbd: add missing definition of pr_fmt To: Yu Kuai , josef@toxicpanda.com, axboe@kernel.dk, houtao1@huawei.com Cc: linux-block@vger.kernel.org, nbd@other.debian.org, linux-kernel@vger.kernel.org, yi.zhang@huawei.com References: <20220706093320.1962871-1-yukuai1@huaweicloud.com> From: Yu Kuai Message-ID: <853a5164-78cf-1ccb-8e18-cff5b5bce4ff@huaweicloud.com> Date: Mon, 18 Jul 2022 21:52:31 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20220706093320.1962871-1-yukuai1@huaweicloud.com> Content-Type: text/plain; charset=gbk; format=flowed Content-Transfer-Encoding: 8bit X-CM-TRANSID: _Ch0CgAXemmfZdVijUahAw--.40633S3 X-Coremail-Antispam: 1UD129KBjvdXoW7GrWDtrykuF4kJr43GFyrtFb_yoW3Kwb_C3 s7Zw4xXws3Wr92kr4jyF13ZryFyw4rXrnYqrnIgrZxXFy7ZayxA3Z2ya95Gr47Ga1vq3Z3 Aa1qvrsrC3WfXjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUb48FF20E14v26r4j6ryUM7CY07I20VC2zVCF04k26cxKx2IYs7xG 6r1S6rWUM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8w A2z4x0Y4vE2Ix0cI8IcVAFwI0_tr0E3s1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Cr0_ Gr1UM28EF7xvwVC2z280aVAFwI0_GcCE3s1l84ACjcxK6I8E87Iv6xkF7I0E14v26rxl6s 0DM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xII jxv20xvE14v26r1j6r18McIj6I8E87Iv67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr 1lF7xvr2IY64vIr41lF7I21c0EjII2zVCS5cI20VAGYxC7Mxk0xIA0c2IEe2xFo4CEbIxv r21l42xK82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxV WUJVWUGwC20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r1q6r43MIIYrxkI 7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r 1j6r4UMIIF0xvE42xK8VAvwI8IcIk0rVWrZr1j6s0DMIIF0xvEx4A2jsIE14v26r1j6r4U MIIF0xvEx4A2jsIEc7CjxVAFwI0_Jr0_GrUvcSsGvfC2KfnxnUUI43ZEXa7VUbXdbUUUUU U== X-CM-SenderInfo: 51xn3trlr6x35dzhxuhorxvhhfrp/ X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 ?? 2022/07/06 17:33, Yu Kuai ะด??: > From: Yu Kuai > > commit 1243172d5894 ("nbd: use pr_err to output error message") tries > to define pr_fmt and use short pr_err() to output error message, > however, the definition is missed. friendly ping ... > > Fixes: 1243172d5894 ("nbd: use pr_err to output error message") > Signed-off-by: Yu Kuai > --- > drivers/block/nbd.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c > index 07f3c139a3d7..94a1602adab5 100644 > --- a/drivers/block/nbd.c > +++ b/drivers/block/nbd.c > @@ -44,6 +44,9 @@ > #include > #include > > +#undef pr_fmt > +#define pr_fmt(fmt) "nbd: " fmt > + > #define CREATE_TRACE_POINTS > #include > >