Message ID | 20231221055832.4374-1-jialong.yang@shingroup.cn |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-7876-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp208364dyi; Wed, 20 Dec 2023 21:59:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IEdsb4HTEkp1F/zKudIHLjwNqgSApTFBQ0dF0fphtpgY63XeqNVRJBCj4rkieo5q+9o+agM X-Received: by 2002:a05:6808:1b2b:b0:3b8:990b:752b with SMTP id bx43-20020a0568081b2b00b003b8990b752bmr25329610oib.3.1703138382789; Wed, 20 Dec 2023 21:59:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703138382; cv=none; d=google.com; s=arc-20160816; b=XnckCL3MPrr3gr304273PD/JxgT9AXJ/XrRgNKHVbO2LOqwKJecaLtzSEt9zQQ/Q7a AIUzpqGYxs+yyoXuYHHuEvYSRdJaP3G8GOi6GyivvgjHVBJyunuEzUGlFLEuAeqWDJs4 WyYjjudceh7wq8ihtDiCR298lwcoVtjvoAELDVf5mVw6w2ilbRQWTKMQVxD6FN6mO7L9 E6bcYOA6bskEzHYexn9G+9ZLx15okrXvPbfLszaTObbIAw7PeF5tGAk1V3LlU2O1VQzN Nnpm3+BEmX11GMmxzS7ZBCwP5fX4SQ5+V2odehb9VJJxuitENw9O1hRTP7qCvSq3woh8 q5SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=bfCAQawacVQF6WeeB8cVkBXH1VsfRl72R+aO7OH+oOI=; fh=UC+ydEk3IP/dH4GsSbvtO2F/r71nzPYycbcm1vxD5S0=; b=NMj5xSeFbUhqgkFz9wyiCk/a3zdILyK0oY+KGgc9E1RSj9GCQT2Auj71diQ018vfXY W6oOsuzWrY075H8jnffasJFYrJLsIWn5lDXC15+YGqB/NMJV928eVIEMYOAOPafpsS9T y796Po0c5pnyApGXhZx6ZOx0cp2MKKiVH2JrX0lvGnmUbzPLeKyrgnKLpEdNl/e+9o0A 9XGUFuM6IburxUduj1fMOAMI9t3rIpbzrUMKGy9bpMEyF7DAFGLs/xtPzzVIG1quwTv7 pROPgpV0cN4AOEyC5jqvjLIzubnRzurUSP6MB3pOOjfpgmd78MCMssne7INbz/Azx5ry 1D4Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-7876-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7876-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=shingroup.cn Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id r3-20020aa78b83000000b006d0c0196858si970254pfd.288.2023.12.20.21.59.42 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 21:59:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7876-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-7876-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7876-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=shingroup.cn 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 3BA98285792 for <ouuuleilei@gmail.com>; Thu, 21 Dec 2023 05:59:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2DCD5BA55; Thu, 21 Dec 2023 05:59:30 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from bg5.exmail.qq.com (bg5.exmail.qq.com [43.155.80.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 58F39B641; Thu, 21 Dec 2023 05:59:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=shingroup.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=shingroup.cn X-QQ-mid: bizesmtp75t1703138317tn34i1sc Received: from HX01040022.powercore.com.cn ( [223.112.234.130]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 21 Dec 2023 13:58:35 +0800 (CST) X-QQ-SSF: 01400000000000B0B000000A0000000 X-QQ-FEAT: nA8mzCjPbKhGBn850sgwajtUoZgKOipjl+h8F581A/U2+hRYQkbNcWxNRxow0 apbv73toR/zQqt2GGAA5mM21WzAVvDatAK2HNZZD6zJpe/A+Z2Mtpc32+rVpapci+0+wmtL pUz3N6rERb2me6XbELidjMV5/YjqYlZ4D5Bce2WD+zhs6viEBOgqSRkxLlBuvNxv9OqgUJj yQQMxPsNyCEaNPDPx7TaF5OLfOQEyo3sY5eYbzV3/a2isEN+cdKaRoJTQQBbgwuWxFSGB0M GR186SNKaIIBkcC7HVrBBRMpYyJfsWZVux6Mpbu4hmXjj/Tj3eE7xz1gjsfQF9VKHp4KHHB ksnk8nFYpJv7oxTkjlJ8YcBjd4Q2a65btgzbHJMLgJ83M/uZezkrhxRWnpwYENE0B0Ea0KH h91AgqX/qEHn809BUI9HCsLUCyP+arVX X-QQ-GoodBg: 2 X-BIZMAIL-ID: 4987725630253096874 From: "JiaLong.Yang" <jialong.yang@shingroup.cn> To: Alex Shi <alexs@kernel.org>, Yanteng Si <siyanteng@loongson.cn>, Jonathan Corbet <corbet@lwn.net> Cc: shenghui.qu@shingroup.cn, ke.zhao@shingroup.cn, zhijie.ren@shingroup.cn, "JiaLong.Yang" <jialong.yang@shingroup.cn>, Zenghui Yu <zenghui.yu@linux.dev>, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V2] Docs/zh_CN: Fix the meaning of DEBUG to pr_debug() Date: Thu, 21 Dec 2023 13:58:32 +0800 Message-Id: <20231221055832.4374-1-jialong.yang@shingroup.cn> In-Reply-To: <340cbb78-3e68-4584-8e11-313f7f86fd34@loongson.cn> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:shingroup.cn:qybglogicsvrgz:qybglogicsvrgz6a-1 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785781352480445510 X-GMAIL-MSGID: 1785870032588777202 |
Series |
[V2] Docs/zh_CN: Fix the meaning of DEBUG to pr_debug()
|
|
Commit Message
JiaLong.Yang
Dec. 21, 2023, 5:58 a.m. UTC
We know the macro DEBUG will make pr_debug() save the formatted string into final binary. But the translation in chinese gives a opposite meaning. Signed-off-by: JiaLong.Yang <jialong.yang@shingroup.cn> link: https://lore.kernel.org/lkml/a9cbebd8-dd6e-d81c-471f-f40dcc7196ea@linux.dev/ Reviewed-by: Zenghui Yu <zenghui.yu@linux.dev> link: https://lore.kernel.org/lkml/340cbb78-3e68-4584-8e11-313f7f86fd34@loongson.cn/ Acked-by: Yanteng Si <siyanteng@loongson.cn> --- V2: add commit info. Maybe now I have known about the process of patch. Sorry for wasting time of yours. Documentation/translations/zh_CN/core-api/printk-basics.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
"JiaLong.Yang" <jialong.yang@shingroup.cn> writes: > We know the macro DEBUG will make pr_debug() save the formatted > string into final binary. But the translation in chinese gives a > opposite meaning. > > Signed-off-by: JiaLong.Yang <jialong.yang@shingroup.cn> > link: https://lore.kernel.org/lkml/a9cbebd8-dd6e-d81c-471f-f40dcc7196ea@linux.dev/ > Reviewed-by: Zenghui Yu <zenghui.yu@linux.dev> > link: https://lore.kernel.org/lkml/340cbb78-3e68-4584-8e11-313f7f86fd34@loongson.cn/ > Acked-by: Yanteng Si <siyanteng@loongson.cn> > --- > > V2: add commit info. > Maybe now I have known about the process of patch. > Sorry for wasting time of yours. Applied, thanks. jon
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`` ),否则它们不会被编译。 函数接口