Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp12014960rwl; Tue, 3 Jan 2023 07:53:45 -0800 (PST) X-Google-Smtp-Source: AMrXdXuLNxfTh/fHeGHxBJEjM5mNKVLdXp7A9y0jXiPxaR/XBXWjkQq6rHcT4KTH+JNm519K+o51 X-Received: by 2002:a17:906:5202:b0:7e4:1794:9031 with SMTP id g2-20020a170906520200b007e417949031mr37720746ejm.54.1672761224913; Tue, 03 Jan 2023 07:53:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672761224; cv=none; d=google.com; s=arc-20160816; b=a4aPDnebbIkV3Or5fVfmg+I/u4oOmjX2JqSoLP1bOgHevv+iaUpcbKbWcjRCH8nOKC MwOIduEmGeNjDPPwN4xs87GBMTbG1jRWsLzAVYIu5rMwu8mlsGqzizzDRIIuiM+dB1Oz LDbhjFeJCDb8x1lF6dTbeYFaKXrB4t0IN6kCPuFIZja+gYE4YToTcxMBNRPWkz/liyCj wN4NnK0Y97JvcBFCLpOMYFhxguVg1FzJbaHzNpEAWBXY+hSlUQ4P4Yp7XW73y/tB4crw KqGKM+cdpUay6rybzW39xH9kthbMqY6TFsp6b7Z0LuNAXSX5OXSj5LUCJ23UsEew6Epl YenA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=Yp/G7DXK1fTH2v7v0HnOT9IESWacMUXk7lsz2N7AjCk=; b=nDkCoBZ+5NpQHFGsE3Rj/vho6ORyT6n62bop0j1aaAjZlS3CldpM1BPconajdPkBIA bgR92S4STujuRFwXU+BhkvYyGDB3d/Rqi9LGrFBJapwSzgXbhtGgGr2YTnREg086vxJR CisN2KxZizD4skwbdfnMGeOP1pgITdhJJpFseKXNlEIfEDwShwLJGAk6SekyY+RuXLeC j1D0v5qJTJ/vbBbEanhUW18WXLEkY1HOHnD+5MEfz4X+8CDzpL8NGMPdZwHswYQKWVjm yveYhNSEoT9/UpAA0kko/mfSaOnkL3B+Q3P+utkzh6G6IE2BscLOPIp0DJ4hDZm/2qbD C9WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=hGc9mi3x; dkim=neutral (no key) header.i=@linutronix.de header.b=ZC6ch2Se; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hr21-20020a1709073f9500b0078dcd448f97si26975432ejc.801.2023.01.03.07.53.30; Tue, 03 Jan 2023 07:53:44 -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; dkim=pass header.i=@linutronix.de header.s=2020 header.b=hGc9mi3x; dkim=neutral (no key) header.i=@linutronix.de header.b=ZC6ch2Se; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237871AbjACPmD (ORCPT + 60 others); Tue, 3 Jan 2023 10:42:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231134AbjACPmC (ORCPT ); Tue, 3 Jan 2023 10:42:02 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAB1211C02 for ; Tue, 3 Jan 2023 07:42:00 -0800 (PST) From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1672760519; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Yp/G7DXK1fTH2v7v0HnOT9IESWacMUXk7lsz2N7AjCk=; b=hGc9mi3xFY7srKxqzhtWDuojPxwnYPXr0y0uEDMJFZr+r/J0XqkdzN2Vl683J/QIAVWL6r vBcXdsAFA38crsTGiw5o7APSEUDvJaSzX3cehN+xJt0UZ0w8xP53Kz/7prrpqQUJUjakEb jclJdx1w6iSurMaUigmpfLiYxjowlMO4EBgfyf+9z+apXLcU3gppmeR6abV5HQcUXm3Zzu MVkkmBZhGz3rEsyaUpXilaNuuWTOzcALaahR9oHs7AtR8TuYiR2HETU+Ed6rAFdpyU9HOr 2R3vCRGrprGOL9yyEGfyVPIS7tPuiP+jY2Rz2ALP2pBw/bmQ0xAuecFJzqcyKQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1672760519; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Yp/G7DXK1fTH2v7v0HnOT9IESWacMUXk7lsz2N7AjCk=; b=ZC6ch2Seh1aJK3FGSZdNP1YccPxH10iPXMeYEP3g/kk7ox8JmZ585byQnf/PKG5xOwIH7B 37YNPUf/ek9EBfCw== To: Petr Mladek Cc: Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org Subject: Re: [PATCH printk v3 5/6] printk: introduce console_get_next_message() and console_message In-Reply-To: References: <20221221202704.857925-1-john.ogness@linutronix.de> <20221221202704.857925-6-john.ogness@linutronix.de> Date: Tue, 03 Jan 2023 16:47:21 +0106 Message-ID: <877cy3d3ry.fsf@jogness.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,INVALID_DATE_TZ_ABSURD, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 On 2023-01-02, Petr Mladek wrote: >> if (is_extended) { >> len = info_print_ext_header(outbuf, outbuf_sz, r.info); >> len += msg_print_ext_body(outbuf + len, outbuf_sz - len, >> - &r.text_buf[0], r.info->text_len, &r.info->dev_info); >> + r.text_buf, r.info->text_len, &r.info->dev_info); > > This probably was not intended. Actually it was. But such a style change is not appropriate here. Sorry for trying to slip it in. John