Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5550535rwb; Tue, 22 Nov 2022 01:21:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf6kn0IjVYXhyBvf3ALj/lkB8/8mMx03kiqxHD9WwoI+POz0aBMtPT+QLzgqkokOb4g1EQo0 X-Received: by 2002:a63:4a25:0:b0:46e:bcc0:c735 with SMTP id x37-20020a634a25000000b0046ebcc0c735mr21104987pga.483.1669108879400; Tue, 22 Nov 2022 01:21:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669108879; cv=none; d=google.com; s=arc-20160816; b=qp89jl+H/w9wj/fWfSk5NASx5aTS4BtE8KZB+HeVQwRz3HQBJb/6YG+JmuMbRF3u/A BKYi1yWoJumCj751DMebXkMhQmtkty/X8bcQWffCnbCiYQzecgSXacshrNl/z8tLQLrI 597r3WdcIP5fomkHokGMb+QkTglL4ksTtDesd8Dal9mEgwEne7K9NIUGUdj2T9SoMHSQ uYd6L4Saj4ogb6HqDuPEt0jfDktM9VPMyZipqPPvdMEuUg4UMRjQgTYA32/6r1xG4aK8 x1fFmxFkTmsDjcEfzyJg7oYt0JuNX4J/DlODZgLcotPEVRQBqnATa3H4y98FV3IH3p/d a0Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-disposition:mime-version :message-id:subject:to:from:date; bh=gyHFd7Uf4bloSpKJuylFlBeEQ+f6hkP91n5xZcxibrA=; b=GvkPpOkZ5+kbWlNgJBCvP/iSTQZtFeyE4uWkyf8+DO7Ma1aTcjCxBIq8jzfeSs+r1Q 0cesuv/hbyZR6/UaeHCwGWwp52a5nHf42dP4Ipov2yO1+Yd63JoQYUfPuS/w9montBzr 97E+q2sAOavE9M25l5aJc32rwP7TbQbJGtsx3Rx8erFG6051/IruB4roL6pHYPcPs6gV Rk7/u+yQPIA1ba4qfXJD2/Lo6ILs8D8Qy1osKe38E8nS47s11PEwsvk0HLgUeHc8ibqm jZ4d7T08CLxYW6B7lYqM4+7lwkHkBRGtiu1fd2VmBF8jYUaIqYgjvMPbk47xFnUuDsSl jm6A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a17-20020aa79711000000b00572fa852bf9si13183447pfg.73.2022.11.22.01.21.07; Tue, 22 Nov 2022 01:21:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232743AbiKVIZD (ORCPT + 91 others); Tue, 22 Nov 2022 03:25:03 -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-Type: text/plain; charset=us-ascii Content-Disposition: inline X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtpipv:ucas.com.cn:qybglogicsvr:qybglogicsvr6 X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,RCVD_ILLEGAL_IP, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Printk: Fix a typo of commen Signed-off-by: Wang Honghui --- 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_ringbuffer.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"); * -- 2.34.1