Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp396658rdb; Tue, 19 Dec 2023 23:28:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IGGJdEPNfbu8Q884iAxvEj4BEqaoqe2wnPJj67gSzI+Qlr2ev1RsG9LeDSqw2dLQjvnX6OU X-Received: by 2002:a05:6214:2b0c:b0:67f:2991:7b0d with SMTP id jx12-20020a0562142b0c00b0067f29917b0dmr4620115qvb.2.1703057326177; Tue, 19 Dec 2023 23:28:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703057326; cv=none; d=google.com; s=arc-20160816; b=UglfxwvFoeDLAyKGzsclBarrwN7UCWw/2S1y93dYUaf4b2KD7bRzsTOVkHs+X9F1U0 iKJAJOJrtOvGeqdN7geNKJLc5Vnl3W5M7VuWoVApJr8S1uWqGZT1nI7DtiDFEJEthStx 5/KBetRR8Zve+C4pbGlG/RDgb03n410I9U7CyU76d7hQU8z3+hX4dfMdkYGsR411ILmI aEFvxSQwiE70QAY4asCzGhoJrLdIpE+SGPVzRUWyXWCLzBXhmDA7bTET3dz+jMFDdCyG Ngvn9DcjJhnDmIThfiEWajLbm4jCpodO+wWOKqA9txVNzsSvdo5v2RgkSBmd5eL5RjQX 8Nsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=iKjkdsg86VXfHT4mmEP+XyzYdmWe7dIcEGpuwVDfL4c=; fh=Psd9bRSI13Li1+I3p/U0Sfjy74eo2DDAVotTFvqZ67s=; b=NJCN9eBCR5VU3fZr+eKUkvgpdEY9UYfIewe/X5WCkJiMn4xgL6v73Q+fh1hAgcHSUX z4SxQqJ2XgnayahZ/a9w93mM7RqP5pWs8M55ov6kCUeXcfxpGfNQDJyQD2dKzlYp/+Pp uxYr3fpBce4bNLoEs/CcAjlPGbE95V7WD6q2frdkXgBsPDiXGyZaS2AopgUX3jsx/5DC Wg5CCHe0JQVhloz/0ZZ6GfqcUW8am64KKFhnikL0HkBrQQT3cEdbD7E0pAR0hIPp4le7 UWSQePu4rkEH2lF1tv/SxxsXTK/K/Gz9rP8y9IeFtTFl8pnCn62OlcZW0264G6AhJfLL Tp9Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-6483-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6483-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id q10-20020a0cf5ca000000b0067f461da9ebsi6124231qvm.366.2023.12.19.23.28.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 23:28:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6483-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-6483-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6483-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id E73F81C2587A for ; Wed, 20 Dec 2023 07:28:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 83E091C291; Wed, 20 Dec 2023 07:26:25 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 610EC18E3C; Wed, 20 Dec 2023 07:26:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=loongson.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=loongson.cn Received: from loongson.cn (unknown [112.20.110.252]) by gateway (Coremail) with SMTP id _____8CxuegXl4JlIN8CAA--.14484S3; Wed, 20 Dec 2023 15:26:15 +0800 (CST) Received: from [192.168.100.8] (unknown [112.20.110.252]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Bx3uQUl4JlpbYBAA--.10622S3; Wed, 20 Dec 2023 15:26:12 +0800 (CST) Message-ID: <340cbb78-3e68-4584-8e11-313f7f86fd34@loongson.cn> Date: Wed, 20 Dec 2023 15:26:12 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] Docs/zh_CN: Fix the meaning of DEBUG to pr_debug() Content-Language: en-US To: "JiaLong.Yang" , Alex Shi , Jonathan Corbet Cc: 2738078698@qq.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org References: <202312201105408639401@shingroup.cn> <20231220062822.16168-1-jialong.yang@shingroup.cn> From: Yanteng Si In-Reply-To: <20231220062822.16168-1-jialong.yang@shingroup.cn> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CM-TRANSID:AQAAf8Bx3uQUl4JlpbYBAA--.10622S3 X-CM-SenderInfo: pvl1t0pwhqwqxorr0wxvrqhubq/ X-Coremail-Antispam: 1Uk129KBj93XoWrKr4fArW8JrWfuFyxGryrZrc_yoW8JF15pw 4Ikr1xJan7Cr1UC348WrW2gF15Ka4xuwsrKrWDZw17XFn3Jr48Arsrtas09F93Zr92yayj vFsIgr98ua1jvrbCm3ZEXasCq-sJn29KB7ZKAUJUUUUr529EdanIXcx71UUUUU7KY7ZEXa sCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29KBjDU 0xBIdaVrnRJUUU9jb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2 IYs7xG6rWj6s0DM7CIcVAFz4kK6r1Y6r17M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48v e4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Jr0_JF4l84ACjcxK6xIIjxv20xvEc7CjxVAFwI 0_Jr0_Gr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVCY1x0267AK xVW8Jr0_Cr1UM2kKe7AKxVWUXVWUAwAS0I0E0xvYzxvE52x082IY62kv0487Mc804VCY07 AIYIkI8VC2zVCFFI0UMc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWU XVWUAwAv7VC2z280aVAFwI0_Gr0_Cr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcVAKI4 8JMxAIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMxCIbckI1I0E14v26r1Y 6r17MI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7 AF67AKxVWUAVWUtwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1j6r1xMIIF0xvE 2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcV C2z280aVAFwI0_Gr0_Cr1lIxAIcVC2z280aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2Kfnx nUUI43ZEXa7IU8CksDUUUUU== 在 2023/12/20 14:28, JiaLong.Yang 写道: > We know the macro DEBUG will make pr_debug() save the formatted > string into final binary. So the translation is a little wrong. > > Signed-off-by: JiaLong.Yang Acked-by: Yanteng Si BTW, you lost Zenghui's Reviewed-by tag. :) Thanks, Yanteng > --- > Documentation/translations/zh_CN/core-api/printk-basics.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/translations/zh_CN/core-api/printk-basics.rst b/Documentation/translations/zh_CN/core-api/printk-basics.rst > index 59c6efb3fc41..cafa01bccff2 100644 > --- a/Documentation/translations/zh_CN/core-api/printk-basics.rst > +++ b/Documentation/translations/zh_CN/core-api/printk-basics.rst > @@ -100,7 +100,7 @@ printk()的用法通常是这样的:: > > 为了调试,还有两个有条件编译的宏: > pr_debug()和pr_devel(),除非定义了 ``DEBUG`` (或者在pr_debug()的情况下定义了 > -``CONFIG_DYNAMIC_DEBUG`` ),否则它们会被编译。 > +``CONFIG_DYNAMIC_DEBUG`` ),否则它们不会被编译。 > > > 函数接口