From patchwork Tue Nov 22 08:50:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wang Honghui X-Patchwork-Id: 24205 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2086030wrr; Tue, 22 Nov 2022 00:58:13 -0800 (PST) X-Google-Smtp-Source: AA0mqf6G8ypXeDqGCR+vUn3Z2jzyz+IDakojhfc6ZkIEmNx9041aq1qzpHn+GWMpnYx1iq0nXqO2 X-Received: by 2002:a63:4543:0:b0:46f:3dfb:8fb3 with SMTP id u3-20020a634543000000b0046f3dfb8fb3mr2603546pgk.121.1669107492828; Tue, 22 Nov 2022 00:58:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669107492; cv=none; d=google.com; s=arc-20160816; b=s2swXQWUilEgTujxalSiap8I4q6BStTe63o+1oOQHYvxJHvJVI7mDh7vxiwMGDN/Iz waOxzM7zHjc4infoOwEABH5e3yRmVfY8fSFvdJlQggtFTMd/oivw6NNBub7BAPnlAQAi vjNbQ+kRxAbKq0A+0l6svl0O8r5DA4E+Q6hUGeHAIlVakvV1/9zeALFqAMWLe8M63w8V oRlD+h+cZi6USGWAtQd9KJpAyyHf1R2AUmzMGFFG8ke8UnpPqZk2jxF24ikuS5DNimx0 GQNTOvjQOINMqkqzdt0WjaYkzVUIMyHSmmK9DusXIUu2dSrDWKj1q37c+oEzkc7P4vFa PiHA== 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=ZhZRLTuQSOtILxuDcfLpngCYMzkn2vyNVu5oxpOfG8Q=; b=DzSLOsLwv8Pdy/TD2Gg0PefIs2eshJg+TkdwRZVzg/pM6LjtAENgA3fcr/UbIGQgDt boXdGhJFfo8DhHN1lm77uxHmM1yPLxsOPx2PCMIoqsmg5dBj9BPn0YhdYqI+Se5DKsQu TPdpP5d8Q5N8RJk+6sFSylscvYoiPx7VeSrUV5kt6NdAxZAni1AZp58xqrPhc9UWsb4b KwoYxiruFg/upxk7lJlboyNC0xOyyJN09IY/t4mZrvCm3aT3oD2o0XDMbVSB7X74ZkU9 lExxKQqmAzb1EwrWZYxnUS9fuSgBQXGVyiwCB6EWKw6pywFM2sO9JRzxMnXSHK0Z/eUS esqA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u17-20020a056a00125100b0056b345b7f5dsi14218868pfi.26.2022.11.22.00.57.59; Tue, 22 Nov 2022 00:58:12 -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 S232802AbiKVIuw (ORCPT + 99 others); Tue, 22 Nov 2022 03:50:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232968AbiKVIuu (ORCPT ); Tue, 22 Nov 2022 03:50:50 -0500 Received: from smtpbguseast3.qq.com (smtpbguseast3.qq.com [54.243.244.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 968302EF4F for ; Tue, 22 Nov 2022 00:50:48 -0800 (PST) X-QQ-mid: bizesmtpipv602t1669107037tdwg Received: from localhost ( [255.228.79.0]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 22 Nov 2022 16:50:36 +0800 (CST) X-QQ-SSF: 01400000002000406000B00A0000000 X-QQ-FEAT: ThitmV5dBHUc8+R4PS/wwIIXz1rmlpqArenoIu8cpinLThO+kAJB9ZMrdr1hF Jg2W5s258Dc9x9rtH7HssxJ7nlnCrIF4o3/QQvMJvGYmISu6AjFpXG7vjDDhCaXMoBgI70q pgWTNVAajuano/NvFyheXZSuX1ww1XWm6Wf+Q/C5fHfUZ6brOxxzN7ZwRRr0PfxaXVbRcIV OZr6EKkC0Bg1AWYlp0IBYF5IudKbtfkSYFdVltN/U2iJWnnmI0A/uv+YtfQI7fCIUbAI9EJ t6A5oxkVwwBt0jYo3WmgrPQ9WhJvYtll0p3xMrmq9hM3DoHOMiAZ5PyFqrp54P/9R6TLc6F jmW1F4v9AIv+Ncbqs4DMe2+nOgG7foEfcGzK6dADTlxINHI+eU= X-QQ-GoodBg: 2 Date: Tue, 22 Nov 2022 16:50:36 +0800 From: Wang Honghui To: Petr Mladek , Sergey Senozhatsky , Steven Rostedt , John Ogness , linux-kernel@vger.kernel.org Subject: [PATCH V2] printk: fix a typo of comment Message-ID: <0C7C980DB815FAE1+Y3yNXJCqZ3Nzxa5V@TP-P15V.lan> MIME-Version: 1.0 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750186058392004149?= X-GMAIL-MSGID: =?utf-8?q?1750186058392004149?= Fix a typo of comment 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"); *