Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp377253rdb; Tue, 19 Dec 2023 22:30:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IGO14KIigr2FyXEDQA7udQFF4p4t5JCyUOhXX7z+avs3cZCStPS0w9R/wnW8RPpNHTv+qZ2 X-Received: by 2002:a17:903:124b:b0:1d3:2e0d:cda3 with SMTP id u11-20020a170903124b00b001d32e0dcda3mr17252972plh.103.1703053805891; Tue, 19 Dec 2023 22:30:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703053805; cv=none; d=google.com; s=arc-20160816; b=ayM6OLFEHnWT7vuZ7iu7tH0aUSGgl1I0grLpd5kVlZ0MTJQs7Qv1J8R7OVdPcbwRY8 F8TKi6E2y9AN7XT+VJl5B172RKm5EVKXWM5nax9R5GTmF3X5yYZLXSuoAlh8p5KR8L6P m+2h4GcuxjDjS7JflZqGw4KJ93QjS0BoYzYP3jtqey3eWH2M2bOHc8bdw9Kw9kiFVbnQ gvdJamAEhMM84XGGu5lVMEQo3kkdxojQV6FKC3Mv0V3utjI68qF8yekmaiEWXowj+udQ tADC/gsxh6bvEZJ4M81JZCC+HCgW5/NlJRKWbSeDE4ZlM8Yeq5SXd+6BHdmOwGrEJ1+d V6qw== 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=5aeO5gDS+UmL1Er07Ispn+8MlVWcEag3nhMRHbZSyF0=; fh=CjfNfh831ODg1qbUdi6E8cto3YR20PtzsR9jUGl55jc=; b=difwWyYXIkEySfRRGz7KXySE2qIB063GdBOGiQdWyFt3hK/DMTD+sIklK3RQGhnzK4 XqSZFnwgYrOPmqcB/V9Ogt0FxCyU3Dksi2Risw8uVbAlTNWdC71UhCETdIglDwozigMz kExma0q719YosyPmCLSXFebEqyUcvrbdMGAGZHvpDBGQiCocSAD/FEsrvUwBjtlRjsyO 9wZkv3MRgHGVLBssoPWuVE+A+rU8pi8fQyPCJTCSxejOmRTP2SOR62blfJotxkHtPOPJ UCqX/8wTIW7ganTzz7yXPIF7wLX2UJ7IawAtWXnepE/u6mZnFT2Bmi1NqRE+yY1GfWha nybg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-6421-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6421-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=shingroup.cn Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id az4-20020a170902a58400b001d05ec3be0bsi20947067plb.130.2023.12.19.22.30.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 22:30:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6421-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-6421-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6421-linux.lists.archive=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 984D5B230A4 for ; Wed, 20 Dec 2023 06:30:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9247C168CF; Wed, 20 Dec 2023 06:29:55 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from bg1.exmail.qq.com (bg1.exmail.qq.com [114.132.65.219]) (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 1F14C168A4; Wed, 20 Dec 2023 06:29:49 +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: bizesmtp73t1703053749tonb8xj4 Received: from HX01040022.powercore.com.cn ( [223.112.234.130]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 20 Dec 2023 14:29:07 +0800 (CST) X-QQ-SSF: A0400000000000B0B000000A0000000 X-QQ-FEAT: cvpDInk2tjX5BPajcFyu8lBYa991EIo5ZSpfNcLacG1cG7G2E3C6Vtt1emMmA qrEcp3y0FfgIXj4J/P3b9jrCHl1i2laDbv2JwGv4398TELEzjD83XbZurtAfBuHSfdhpb1W xr3zNmWvJ7TRhC4v+ZpQdFBnlZ7KNKRAo1Z67UtiGU/ObNYkTrjcextcX6/yFgd2fwMJM+w eEPnyIixtzQA/eFTqT7J+ByZNysmPiHWcYQOIjtgqTyMjxFbIRr3DKU44b6cm5iTa4DMNf3 8R108bW8PKHZ07+cGn7yjHmWnGHdTySCS91pq/MrcagT9NFE1KQzeV/hc+iujmBBc2wksOc c4Q8UzLvg8R+N4F3hpC9B0Ow0456+0QNDDI6LMmNXWJlRyqHdgoyl7c3y3WE0JHXO6vjK/o Fcfdb2zwpeH3j03ji9tF/Q== X-QQ-GoodBg: 2 X-BIZMAIL-ID: 6145391181880478621 From: "JiaLong.Yang" To: Alex Shi , Yanteng Si , Jonathan Corbet Cc: 2738078698@qq.com, "JiaLong.Yang" , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] Docs/zh_CN: Fix the meaning of DEBUG to pr_debug() Date: Wed, 20 Dec 2023 14:28:21 +0800 Message-Id: <20231220062822.16168-1-jialong.yang@shingroup.cn> In-Reply-To: <202312201105408639401@shingroup.cn> References: <202312201105408639401@shingroup.cn> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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 --- 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`` ),否则它们不会被编译。 函数接口 -- 2.25.1