Received: by 2002:a05:7412:a9a3:b0:f9:93eb:408e with SMTP id o35csp37589rdh; Wed, 20 Dec 2023 21:59:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IERrvd3KVaoDk2x3ApjY5bOhENv5869TMUCFAt/AYXbD+4VeS4ZsetBNz1PkpNHuh4yEeRD X-Received: by 2002:a05:6a00:38c4:b0:6d4:63e:15a3 with SMTP id ey4-20020a056a0038c400b006d4063e15a3mr8678052pfb.54.1703138374952; Wed, 20 Dec 2023 21:59:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703138374; cv=none; d=google.com; s=arc-20160816; b=XBSimDWgBfEwK13U57JCwGqr2e+owvQcmv2+UoYuOhOm6ClFljNzPE8VoyTBlOdarL RbKj8WmTcVMVMxGDqEwqFFjSd2U7BF3Oupqk2qBWXCkeljA2wNQNTz+o4Qyj+zrFjgCC 1nlz1Px/pe7/8IZ9pA7iW3gdYB7pZ7aXuXllz7pZTpoZlPn53ga544gPWWunK1U3lFZ6 qea72s9ak9/C/xYuNja0vF+siEkZ4eICRPGOEU1IDiwbefdGpiiJPfeijZMJBkoACgh0 itOzzC9L6jRHLAVV1XfdySgwIHjR7mGqQdvWnvEFHuVR05ckREa6G9xJpdD/80lP8jec kH5A== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7876-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=shingroup.cn Return-Path: 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.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 21:59:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7876-linux.lists.archive=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-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7876-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 4DE10285C40 for ; Thu, 21 Dec 2023 05:59:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2F9E4B66F; Thu, 21 Dec 2023 05:59:29 +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" To: Alex Shi , Yanteng Si , Jonathan Corbet Cc: shenghui.qu@shingroup.cn, ke.zhao@shingroup.cn, zhijie.ren@shingroup.cn, "JiaLong.Yang" , Zenghui Yu , 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: 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. But the translation in chinese gives a opposite meaning. Signed-off-by: JiaLong.Yang link: https://lore.kernel.org/lkml/a9cbebd8-dd6e-d81c-471f-f40dcc7196ea@linux.dev/ Reviewed-by: Zenghui Yu link: https://lore.kernel.org/lkml/340cbb78-3e68-4584-8e11-313f7f86fd34@loongson.cn/ Acked-by: Yanteng Si --- 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(-) 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