Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp446097lqb; Tue, 28 May 2024 23:34:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWuMBzTxnGBsTNF/jwF2C7zExThIWLLyoupCflEpQ1pimT9BqbeO8fW6SShSPWb3YBCz9221Ukoo+7vRuak1RWP8FUyOpf0bi5VZVYdtA== X-Google-Smtp-Source: AGHT+IGqRUfgugtxX+uPqhU3AMlST5fnCi+dieKUBh5JhiRkiiCWvE7fxpbb4B3MBc7RHGZ7iqRg X-Received: by 2002:a05:6a00:2917:b0:6f8:c1b6:d06a with SMTP id d2e1a72fcca58-6f8f3d84ba1mr15053596b3a.29.1716964480142; Tue, 28 May 2024 23:34:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716964480; cv=pass; d=google.com; s=arc-20160816; b=zKZAujQFzOypiDdrK8xkfmRhFaDV36/k7PVp9+hUXlgW2TbweJWX5AsvkcxdJ+cnQO pys1YzF/llMMkVJv0wBTQSvS5k75Cndl4+fdoPrW6YYgko5klfIZeSsbMBK7ahY3vp0U FtHojOQxVQh76Asa0VuTzR/vAC2jomahOFw0YDWwlSSNXIBYbaRuF14bIqr4F9lL9Dks /ZEWOAUecsHJpmmyYwCe2iBNO7JQn5zmv7/DmwiAEb+xrsh+Q17Qf0LI4rjmJCbaRUe+ QtnH86mw+acRqfTDI+UN4fr5KYieMEmee/jVRrSKWh1A8XuB7rKvaX9hAG54i4xRW+63 SvHw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=zbqHMBELg8onnZxF8qJjAEKesjCHoQAEOACipj7FrHo=; fh=Q+zntZ+4Bn7jG1FVOnNCyArERKJF54gdEKs7NNtFZQY=; b=sibEPPbP7xpv/3CY2xgfs2BGYSYcFPeL+fPonW1sV62xj1iMnOsX5OOp/B60nkkur8 +paklKhxDPBHGuDL97NSU+kFpFGdmGv+4GIoLf15YMPo7WytHdrxkNFVnPoTSVweF4bX PD388DFJ64TpqiPsWCuzWNF3lYd0OZhUpEHHvvpKn5aJc+FEAMRGPuFQ0PMLBxVluZs+ 36vXblR0GPiFAo3SBtFNhr3vZeaW1hMwRAfMCh9PX64UytX5oGDU/KIvAKGOcpaNSC78 ZZTjyCicZhR/ybK/9ONyFEOH/LUSDe5+Up2rJ/a4ds/87ZSO6xECTGVpr88yxYXEMp+d DcmQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=dKBKp2TZ; dkim=neutral (no key) header.i=@linutronix.de header.b=81g5Bwjx; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-193520-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193520-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-697cc8947aasi6242550a12.649.2024.05.28.23.34.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 23:34:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193520-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=dKBKp2TZ; dkim=neutral (no key) header.i=@linutronix.de header.b=81g5Bwjx; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-193520-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193520-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9B558286952 for ; Wed, 29 May 2024 06:34:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D6D45160862; Wed, 29 May 2024 06:34:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="dKBKp2TZ"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="81g5Bwjx" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0167715F417 for ; Wed, 29 May 2024 06:33:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716964440; cv=none; b=VPUNk+88RaqO+G4TqKheiMAxh7tgGFvC3WZe+++pUuuTfXCtC0SmW47sD93rLJ/zUXcGdUhgT79ek+/dHyLF1YZxe3DpaobjmlsRdmG3PmKFFcexZjYIHSAWFCiQJN7K6UwXg5/PS6D2axRZ2JVIYZsL1xiTQAjIN/bumpdnFFY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716964440; c=relaxed/simple; bh=zbqHMBELg8onnZxF8qJjAEKesjCHoQAEOACipj7FrHo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=nhFyFouNSe2+PTLeF6mr03pKwq2NFDTEbBHf7wJs++VYbKhz1Qy7n1vxuwGZCktEfmf39XxHCX2TSIk8txFGS8uHHS+Z39Kfh6zDaPcnE/z0KCjEJ/WApyB9Mtzs0s6GqnEFZyGA+foyChONp4NiZtIzZhxxQAYSaW2EA+IOaeU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=dKBKp2TZ; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=81g5Bwjx; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1716964436; 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=zbqHMBELg8onnZxF8qJjAEKesjCHoQAEOACipj7FrHo=; b=dKBKp2TZ3dWpAvpfzNXr5n3Bv22278GmncociLF5efWtmt8Rm3jdyHN9gSPwRKX5vcqlEX Z55JUICXtgCkk+8/Jyl+VfeDDy7u3KS+oF93oGvvZN1xOBq2TSnWZLBJBTP3suCbOBWHIf PezHsMsrQPa1/qMPB7Jh2bUcVUCj79EbaNXoSNjj00AilWc7i45wK9fKlVN0+kABXlHbzv kxsRHGGbWd+NBn1jClqlK15gAhtnIcu9T/Z2sEzoPvXaR33zvR0qWwEj/5WmNJ0gFwqv8+ YnNabwXdImDBcxtMCzUHGJXg267KlKor4ZQgHoZV6yk/hqRJMC3h8IOKrRZfHw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1716964436; 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=zbqHMBELg8onnZxF8qJjAEKesjCHoQAEOACipj7FrHo=; b=81g5BwjxUJ0rOx1MAshsGFpXgAgIulzoJPmZxQI6qnQRgHcCoNAPmdhxituOO1L1GMyDhd iBG/bIjhc2Wo96DA== To: Petr Mladek , Xiang Gao Cc: rostedt@goodmis.org, senozhatsky@chromium.org, linux-kernel@vger.kernel.org, fengqi@xiaomi.com, xiaoa Subject: Re: [PATCH] printk: Increase PRINTK_PREFIX_MAX and the buf size in print_caller. In-Reply-To: References: <20240527091929.316471-1-gxxa03070307@gmail.com> Date: Wed, 29 May 2024 08:39:25 +0206 Message-ID: <87y17tktze.fsf@jogness.linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On 2024-05-27, Petr Mladek wrote: > If you need to modify the code to add the extra info, you could also > modify the buffer size. Exactly this. Your out-of-tree patch to add extra info should also make the necessary changes to the buffer sizes. It is your out-of-tree patch that is broken, not mainline Linux. John Ogness