Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1481821rdb; Sat, 3 Feb 2024 07:59:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IGE2S7XaA8q/PUeBrZxjoYYoy970wv02C6/aH8IwFn75UduiQtAWy2TKOCRM7ORuV8hbk5F X-Received: by 2002:a17:906:ad4:b0:a36:f3fe:9561 with SMTP id z20-20020a1709060ad400b00a36f3fe9561mr1599378ejf.32.1706975983836; Sat, 03 Feb 2024 07:59:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706975983; cv=pass; d=google.com; s=arc-20160816; b=LoXM3I57WRbLOv8TskMZWLM5AFT2C6cbFgH6WUQnHUdGD3HlvMFbw6S6KK7wyk3ULE 7wheP4pdAP9gDAWaWc7IJ4QJlIuLRAsnwpw8s3OtVArP6v/Pyy8fX6q6lKqziHHFBlzQ VjIFZTtQtAqcXINGQGg2gGJ7hTldgoKyw1S3UKz/wztpitab5fuPcb/Qzvh3iOIlPqq6 U+FSYrQxw0piGrG5gJiQW4E5/YL9R1AvnGAO2zGE7Fy/JURujOC95n2//KcEnkPIoLjO 8DmCsgsDhdozlfGiTvej86ZCC0Rur5dxqoonjufGp9wrNYInR+iXtfpjEwSIGRqf3mHq 7Yxg== 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=Csmj0GhuwWSgEFsDljsEvehlEZkYumlN2OJGEWBB/j4=; fh=9F2pwEj8ZhPrXZ5vRgW73KQ3PXYhWXKM90I0xXPJndk=; b=VGjsWD8oNvjT4mwegj/hkYjdhK0yEHucKolbpmQ1UKka7Rq9ac6Bqi0bo2yA3uw4O4 W79xtknITt3KCaJVRwvBBUmH19yE3M/o/RymziqWVaixLKmUSyTZXvn1mmhR8O3R8s53 im4xi6I+dDCM0zv1NpH153zKoDvHqqpsST1gkiLl/+F4EkV3hCWpGRTKM2qIgDBlUYsa 7DhTBrNbJ+Kqsbb9tTMqg4ud8xeZwQ4aaChr1+OogcfpPTFfk6hnqoNiowBB5oGFuCYE QCYV+7j7+S+PwOfik/uDtK++P4gmdzUCQLfomzBu4+POWs43f+1rhytXqoFsJ5QbFXky ToQg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YPZ+VnNM; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-51171-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51171-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org X-Forwarded-Encrypted: i=1; AJvYcCVsm8Ya2o2dnmrfZltC96owgFSLM5DtwXeuea16xX2gBxKR33Az7UMBer3QMkCYuxrns/EchxwpdAOoLcusAj6c8CTmkhrbZdc8arG/xw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id k27-20020a1709061c1b00b00a3544c1a6ccsi1940175ejg.963.2024.02.03.07.59.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Feb 2024 07:59:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51171-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YPZ+VnNM; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-51171-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51171-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 9219D1F24114 for ; Sat, 3 Feb 2024 15:59:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 533505FB8D; Sat, 3 Feb 2024 15:58:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="YPZ+VnNM" 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 7C9F25FB82; Sat, 3 Feb 2024 15:58:34 +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=1706975914; cv=none; b=cown85fQmBkCjJ+zGvSQnQXxLkfNoDPRNsL74veWrn0/RomFrq69HHbH+3KlUStXd+oGM1/ggPZ7BuhYCCCxktMKMl94HVKiwSTv+dCTJaVl8dxYjTj0O4pbZhIs/qJvRX6PuDAiljAYiPEYM/EQJ1CXO0ZNL0JCru+ZjpAnsts= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706975914; c=relaxed/simple; bh=+qLxnypZuud3zlNiK/RSlw7RdMEvBX4l44JJi/kQdmc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=WtlGQjB0G9smPK4PyyNcJmjxYSVkJnFB9Q4dhigvf2hYN0ixSwRUEdAoQTO3f5dRfy6PT7w3x1PbX14X69RU1CyxKQhk8tAP8+yYA07sVtK8Xx/ZzwHUdLEH4SHusWw8qo8+e9RdjQb+SAmI1TtNDGDh21vBhsEhYGcUONzlbx8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YPZ+VnNM; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E5652C433F1; Sat, 3 Feb 2024 15:58:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1706975914; bh=+qLxnypZuud3zlNiK/RSlw7RdMEvBX4l44JJi/kQdmc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YPZ+VnNMtlUqA34fBDsw66fqrzb3cw2nwPqFxCtEvI3Xl0veMcykU/pmZgRSSxIIK mu4ElRYLacG5HuODWbHDJM8sYGUNh3fDElcO2BzOxjvk9gE+kEWpTyFOYEi7rFwMiJ TTlDM4xHzA2iLqNX022O1Pe25eemTTjJxgn70UDM= Date: Sat, 3 Feb 2024 07:58:33 -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 2/2] media: media-devnode: make media_bus_type const Message-ID: <2024020328-sculpture-size-009e@gregkh> References: <20240203-bus_cleanup-media-v1-0-33e8feeab912@marliere.net> <20240203-bus_cleanup-media-v1-2-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-2-33e8feeab912@marliere.net> On Sat, Feb 03, 2024 at 12:31:27PM -0300, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the media_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/mc/mc-devnode.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Greg Kroah-Hartman