From nobody Wed Apr 15 23:30:17 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C9CEC4332F for ; Tue, 22 Nov 2022 08:25:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232747AbiKVIZG (ORCPT ); Tue, 22 Nov 2022 03:25:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232727AbiKVIY5 (ORCPT ); Tue, 22 Nov 2022 03:24:57 -0500 Received: from smtpbgjp3.qq.com (smtpbgjp3.qq.com [54.92.39.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CD7D286DF for ; Tue, 22 Nov 2022 00:24:54 -0800 (PST) X-QQ-mid: bizesmtpipv603t1669105400trcq Received: from localhost ( [255.13.167.10]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 22 Nov 2022 16:23:19 +0800 (CST) X-QQ-SSF: 01400000002000306000B00A0000000 X-QQ-FEAT: PePGYSBm5rSd2f1oHUuE0Ja94umrCJb0d3H3QW29dpAamSItUoIrcmUk7Fgm9 3AjiWfaDG5j27Hoj6CNr+ROSTPM2hExW7JNefvKJg/jUwrLA8NzyBavKDO0z0fgyP4u+qtx Wh0upz204/lPRXWzf//Phwjl6kbsW4DrVJ/aZ4epVlXZlR4tWEVhkLNb6jsps3f0QMccNYt arqkyZWKtfaRdf0WVzlx2VQtcHYbXU3LAsxBdG12HUds/gAbT50gTHeWDTfY7yB4OLsrc4A NKmZIgB3X1RVj1ZBk6lCv6coSU51HuZSzgSxWXQeSP30Upqd2F0KLcDHQ6gcU5BgDqa7A+P UWc90Fd/jWvflwTwDKH9AD9lXI4otgpxLZJurfzOHZ10V4ogOlVJ9Y9uzBhqw== X-QQ-GoodBg: 2 Date: Tue, 22 Nov 2022 16:23:19 +0800 From: Wang Honghui To: Petr Mladek , Sergey Senozhatsky , Steven Rostedt , John Ogness , linux-kernel@vger.kernel.org Subject: [PATCH] printk: fix a typo of comment Message-ID: <77522C532189E547+Y3yG91g6XALbtdJr@TP-P15V.lan> MIME-Version: 1.0 Content-Disposition: inline X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtpipv:ucas.com.cn:qybglogicsvr:qybglogicsvr6 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Printk: Fix a typo of commen Signed-off-by: Wang Honghui Reviewed-by: John Ogness --- kernel/printk/printk_ringbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/printk/printk_ringbuffer.c b/kernel/printk/printk_ringb= uffer.c index 2b7b6ddab4f7..2dc4d5a1f1ff 100644 --- a/kernel/printk/printk_ringbuffer.c +++ b/kernel/printk/printk_ringbuffer.c @@ -203,7 +203,7 @@ * prb_rec_init_wr(&r, 5); * * // try to extend, but only if it does not exceed 32 bytes - * if (prb_reserve_in_last(&e, &test_rb, &r, printk_caller_id()), 32) { + * if (prb_reserve_in_last(&e, &test_rb, &r, printk_caller_id(), 32)) { * snprintf(&r.text_buf[r.info->text_len], * r.text_buf_size - r.info->text_len, "hello"); * --=20 2.34.1