Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5626223rwb; Tue, 22 Nov 2022 02:40:15 -0800 (PST) X-Google-Smtp-Source: AA0mqf5TvR6eNpq7HW6ZaOi2e9AzzdO05AKsoBrTCWPtbwSRYicBiWPk6lIMUpDBwLBsP03seZ4D X-Received: by 2002:a17:906:a156:b0:78d:9b8b:93cc with SMTP id bu22-20020a170906a15600b0078d9b8b93ccmr19643659ejb.529.1669113615547; Tue, 22 Nov 2022 02:40:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669113615; cv=none; d=google.com; s=arc-20160816; b=UWVO8PLmWNCqW5O7MnrOw3Xr8OxbsAug7CWqKfCSP9Pp+5DN8L1L3WWHbK3H9gvbK1 7uF5gaEBWkPQVMAZ7oE9k0WNBTYlPXa20oswENHuo1TY504f9XWdL8nuCAj1ck4GLrRS haY07uheI4dm9xdA1ZDA4Od+ACaxKr/w89ZOslEvbxV1oY8FiZz77N8wij7VdJfsCn0L /kAJMZl8Hz1Pu1fFsOWhPBHnmOX4WsFIIphY9lYS7v2KIAbqgSD9g2Y0VFISYNjU1e5Z hWQOSodvmncJmg0LgkqVr79rmRlIb0c4YoauCHLxwrq+7t3jCgq8mMbolvD2I4Nbm6eO S1ZA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t1-20020a056402240100b004676b7d42d7si10800104eda.243.2022.11.22.02.39.51; Tue, 22 Nov 2022 02:40:15 -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 + 91 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-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 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"); * -- 2.34.1