From mboxrd@z Thu Jan 1 00:00:00 1970 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 E13015F844; Sat, 3 Feb 2024 15:58:26 +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=1706975907; cv=none; b=jnN43fDJWHavHdVNhkAUgWs2XHkDiywVCV27akDdnVa+HexxFMNUHI1QWl22gxpcIO6SHnTwJflD//b4UOYPs5M9UEgle6+581EY3q/d+Mc5hmNFZflYNEeIJXjWcfCaDX9RbDsC/LGbXgsUh7CbFAguxqnZAH5G1fMJqJtRqvY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706975907; c=relaxed/simple; bh=CS+BbMpRI3hgYUmMwGUBpteHD001UQk+1jLwOQccs0w=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=d6c+JInHDI5z7mjrN14b2EM2DmNY+N/qTnGyFmadDrZTuyMZkr+LIIdr2H1P8kYJvcgKhQ3yVCjrxlYq9mjLtaZda/0i2mUM3ipZY7eW99AT1SPFUxYVq+DMVrCCF8BimSH7Oun9zp+u/347C3XVWO+Ca7PH5nDWDdWzC3hkeC8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=AAm4JX93; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="AAm4JX93" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6349CC433C7; Sat, 3 Feb 2024 15:58:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1706975906; bh=CS+BbMpRI3hgYUmMwGUBpteHD001UQk+1jLwOQccs0w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AAm4JX93022X8E9EIDawaTUZZWGPeBvGHwQvVp9JkfN3D02X80LSy8ni4OvYm+lGN R3Yac5C1vE7ovHj7bQxaos1haX9LwXch/wHvyj3AJ6W/DH0hKiQPwiJRASq8dXAKYX btUyXQU3a4IT69cCGuW9yVHBHJfCczHMDTKM5PTU= Date: Sat, 3 Feb 2024 07:58:25 -0800 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: Hans Verkuil , Mauro Carvalho Chehab , Sakari Ailus , Laurent Pinchart , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] media: cec: make cec_bus_type const Message-ID: <2024020316-resilient-camping-b059@gregkh> References: <20240203-bus_cleanup-media-v1-0-33e8feeab912@marliere.net> <20240203-bus_cleanup-media-v1-1-33e8feeab912@marliere.net> 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: <20240203-bus_cleanup-media-v1-1-33e8feeab912@marliere.net> On Sat, Feb 03, 2024 at 12:31:26PM -0300, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the cec_bus_type variable to be a constant structure as well, > placing it into read-only memory which can not be modified at runtime. > > Cc: Greg Kroah-Hartman > Suggested-by: Greg Kroah-Hartman > Signed-off-by: Ricardo B. Marliere > --- > drivers/media/cec/core/cec-core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Greg Kroah-Hartman