Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp193195lqb; Tue, 4 Jun 2024 08:42:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXlJMaOKNPmiylKePbSn1TIvftNbBfifwXfKkGCpl/6NOYv+I78z5oHzNjNL1ANwYFEzHxk7TH6agSPUL8yfSoWBR3JXHoWxUZ0c+uXLA== X-Google-Smtp-Source: AGHT+IFmUxdVU0f81cdmzlKnANhWaLDkL9oimPIZGp8Jgp/dioql6pghqfegRH4Lulf7oK7ugsDS X-Received: by 2002:a05:6358:78a:b0:199:669:488b with SMTP id e5c5f4694b2df-19b48c237fbmr1809484755d.13.1717515736798; Tue, 04 Jun 2024 08:42:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717515736; cv=pass; d=google.com; s=arc-20160816; b=M2cVHu1LVC0zfI5/lZVHzqXkyctdD7cgnFRrCzDjfu+sgxJdsfgF2cna84bYOnw0QV DrSanKgpH1ppabYVa24yJx3R+bkjgi71rr+VVYr06egB3/6YZQq7yYOtMTuw7Ki+Gjp2 WgbHyc5DDaRyQHbO0Kn/df2vJJNa6nHeafqheoQC7H3tS5r+HGgjQQmutszqR5OhG11b IQDm4xny7T3ixHvceu5RFzsYbEi+3gMpjBUBXF5DiTtge+c9BHcMHUaJXHnOZpAhvOJl FBcZ/UxuTB1T5WV1vTTH2DFA4kws3QPhc+TjJFF8xzNVoktgzbw5A9MpTlF4mDusGzXl Xadw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=L5dnCUmfeOsc2Bjcr8AJG1skuw9r79MwSP26PLVqj+s=; fh=jRWUMgW/6vsarIa9zjzz3r391Xw3I7xnRoKTfLdLdk4=; b=Ku0QNZF4qaSd3EzMCK9MBZpof/0nFWD0VdJYWyzTgt0DuqT443Mb707muGtEdAiJmm oamPPsXAKOUtpYLi9sRMwRxehTv8thDjyu58NgwJca0F3Q1yU/k1afEH7OAj2CHKlpU8 7cLmV41PY83snnSf558FH5XZnIE6a+bbI1K2F8j8xgAptY1M3ZIjLFRqM0xnxekWjflH vLFheZ4tBbMS0xwzNUEwpjsn01NvbSImTlqQ1jjl+ZAP436JrEHMTxt0Tq7ckgDrTpeS zF5j7AlZ0iVqEQtyMV8MMeifTBlK6yAKZwrX6k+NatWdtyFjoki8ZUImfcqSEWbCTa5S DyJw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="FbNYR/Zb"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-200975-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200975-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6ae4b42c47bsi100540706d6.449.2024.06.04.08.42.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 08:42:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200975-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="FbNYR/Zb"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-200975-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200975-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 4DB591C218FE for ; Tue, 4 Jun 2024 15:42:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 29CA9146D49; Tue, 4 Jun 2024 15:42:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="FbNYR/Zb" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 519EC145FF8 for ; Tue, 4 Jun 2024 15:42:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717515720; cv=none; b=gMwoA30RwffFYfBJ7H/Wk2vtScBx1+QvI94njLZHXLWNEufTb7V4vUXqo1QTJXH0qzi+Q3zvmbN2zsJNFcT6qiarDcd0h0KJBsU9SHAe3PeKoZcPZ02dpDy3Hi/YER4X9na2NQv2uFPqgqNlLUw2Px9Q8BO2xuqWfUGh6juIj1I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717515720; c=relaxed/simple; bh=2der58+5+M8sJ7S06tSlSPRV9DWuJlgIZ3M0EI+0TiM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gaIbTHgIVW06WqavNctLsRn8eI19sCF+exQj+6XU80jG5iR1aswbTJM7oeESz57dJayKc8gurKfB4xwDI0kkFjN3U8wTcIn4D4dxKcuaTZ3t3feDxN6DtI1RA3cOld4qJA5jqAZK779ICEGYk9oslmG8fU7t1od/w603WzflWOg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FbNYR/Zb; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10C49C2BBFC; Tue, 4 Jun 2024 15:41:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1717515720; bh=2der58+5+M8sJ7S06tSlSPRV9DWuJlgIZ3M0EI+0TiM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FbNYR/ZbJnrYREWVDk0cbY3+SZjJoW12kNfP0nVniJW587W3Fz3XvVNgb6kYvWG1o BdsGhqd+HrKceW0eYW/6aXo6wqCP3Dv7qmH364oHRUJFpqb5bAf46KNyP6iJqrLcqs 5Q5pkKyS+9rORKMAVJIgs/Aorp5IognvUMOb02Fo= Date: Tue, 4 Jun 2024 17:34:02 +0200 From: Greg KH To: Jani Nikula Cc: linux-kernel@vger.kernel.org, Andrew Morton Subject: Re: [PATCH 2/4] kernel/panic: convert print_tainted() to use struct seq_buf internally Message-ID: <2024060454-talisman-worrisome-ac95@gregkh> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Fri, May 31, 2024 at 12:04:55PM +0300, Jani Nikula wrote: > Convert print_tainted() to use struct seq_buf internally in order to be > more aware of the buffer constraints as well as make it easier to extend > in follow-up work. > > Cc: Andrew Morton > Cc: Greg KH > Signed-off-by: Jani Nikula > --- > kernel/panic.c | 38 ++++++++++++++++++++++++-------------- > 1 file changed, 24 insertions(+), 14 deletions(-) Reviewed-by: Greg Kroah-Hartman