Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1794467rdb; Sun, 4 Feb 2024 01:25:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IG924BhovKsesM9cX4/HRtdEZ99QO5Xc3CG0veVVAFbEbVOG8QXGrbzg7qhyAKpG0Gcckpv X-Received: by 2002:a05:622a:1181:b0:42c:189b:4576 with SMTP id m1-20020a05622a118100b0042c189b4576mr2992988qtk.25.1707038741502; Sun, 04 Feb 2024 01:25:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707038741; cv=pass; d=google.com; s=arc-20160816; b=XXvLQI4vsMESygjbRUaRsZs7XB/OZYQyYmstsOOkYII8JC/WRYfLPv8U0JMNlDV1LH 7qsiCHIh5wX9j5A4i38R8Upg+hbwLweXwUR/PFXAb8B7yveweS/O7T0RyivfO5Yf3WB+ Sx87lgGA8ZhJ373vJocr+/l3LFudiQolkby1WxpDGZAks1vI4IkyJJesjrUVf1QawwbU XsgebpqBiieXlH1vLc6PY++QzIvptKcTmEn/M2NeU01Eml48rbHvDOD3t3XOeR9dAdNU JZlQp09x/Ah3QX/AJllOPCzoCwVTVrnkQKpqzLkE8Et4Iw01SFU5ufOlpewCfP4+uoZ7 nzJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=2SXF+EkSrrLNKoa2FlybzpWwNVCRg86hQFSJJz01/SM=; fh=Goqsgkp7Y3H2ac2EaRVbBpApRFaBpOCigOAyykTY06M=; b=Z9LTNRlNoQ4JHWBmWVa8mhmhgqXyUp0ymXFi/Xo0ri6IM5tgrpOpVnx+Fkjsq4RHem QROzwuzZoDOsI45vbd814wNxCmaakpnNKUBLLZwFKLhZynJKl9obDvbGHI1CnDsVigrQ nqjYqpdkHKe/HWsD/si8kyJzhXf5T2mTj1hutJt+QFCGSDxRne6XdUXQjwlRRuUyfwSQ OUXGia4Aa8PoCMMQNoHt/EmFGiI3fJEFJZwPR8IazTOjCWx5UaAKFoRVj0wYx63G4BEw /73U11coE6Oo4Ds/bceI+XvZPaIIZKTYuevxjx6xIa7nQuXpKAg2JXUULLhF/tMMYTxa 3f3A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JrniFYRf; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-51556-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51556-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCUZ/2vZLTlDACKvrblXDLF6xcEQ0RMm3iuZMkDrKprsjZpZFrc2+ViaDOhnL9Y5bDXX0aoEyNaa26IrIiLJFvIjFl+GEFw3/+ClRvznpA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id e10-20020ac85dca000000b0042bedd16698si6148058qtx.148.2024.02.04.01.25.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 01:25:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51556-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=@linaro.org header.s=google header.b=JrniFYRf; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-51556-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51556-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 201301C209B2 for ; Sun, 4 Feb 2024 09:25:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 46A70199B8; Sun, 4 Feb 2024 09:25:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="JrniFYRf" Received: from mail-yb1-f180.google.com (mail-yb1-f180.google.com [209.85.219.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D888A1946C for ; Sun, 4 Feb 2024 09:25:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707038724; cv=none; b=QMv7puudgI2RYGc/RyCfdsHxZP2TcGXxP0oRx1qow8txC3vzg6GieJ12l03f8L4b3nP5Ll3jsjOxJ+REX8ziRF2n8Nm5ml4wR+vdl0o1qvY1D5s7doJ5aydtOgBc1UtkiwA5cY5VY3QWfzbTQTJ6vLP25l6IHLsoFRlP8nz7cB4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707038724; c=relaxed/simple; bh=TdIB0jx+9eA/Z7nasWaijsRxtKSpDYNAaVOYscyn8VY=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=akgHY5DvxtbPC8wOgpxyDMWMtsywcN0MDPtqy+h83UDrAKzlX+PFbp+hPASEOOpd0EdEMEFwhEBp88b0t7KqwYSg2PkehZASMYtPB702WdttHHnokMIuj98oMv7XrQNECSGv+Vcpb7hQ4pVVnPemoJv0TpHREMJ5zz6xgXmxt8A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=JrniFYRf; arc=none smtp.client-ip=209.85.219.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yb1-f180.google.com with SMTP id 3f1490d57ef6-dc6d24737d7so3287341276.0 for ; Sun, 04 Feb 2024 01:25:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707038722; x=1707643522; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=2SXF+EkSrrLNKoa2FlybzpWwNVCRg86hQFSJJz01/SM=; b=JrniFYRf6JuQ/9VHi0PTgoao/jirxz7dEB9KXtYWVaRu2hqCwVcZWdijaaQrguYb+w vhNEsM/c9ZqVsBoVl6xnqPYI1Ryc4hk+Ae5k1Ov5Ut8RPcNwkD07ROXxS5G1u8gEL1OM sog2bGQpO6wmwI59XP+KTme0OJLfAhEHdnh8T+aGZxs9paJHW6BjkZd9buT8KOWRTr+6 hVDZW+MCYfun2+dkLj1v7gKQDAes75zRDtthdlmI5nsRblP8NRwiqf6dLp3nxY9vI+1m lUQQyupGkK4JHXXKJh8LS/W/fEkaHUXhYSf5agyER64eVNr54B5PCaVbEYC40vVq5prX xT1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707038722; x=1707643522; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2SXF+EkSrrLNKoa2FlybzpWwNVCRg86hQFSJJz01/SM=; b=ksHvdY5SZqu3Ln9oKFkK2mhtBF1tcGokeXu+vXpMdx4C01R/Q4HKNk0SWRfPgPCVMD xk90d4hm4JVtxx6VNKP/szaZj9hXk27cBvVd8vURo2MCEee2Qw7LJvlv1i1UhmiaHqVM 3kY3aC/CvqNbnMjariUWSZ/WREKS1sDCDBrN86D1atWiBrwRIqp121RU9nPUPCDE7fBI lvDKGqaUX5Sw/XfpZwtnC56vXCuVUbavzt340Q9AaIllkD472KRuS4dvCfgsqkx67InG GSF8yrY/3MpFfcTVkRJzBsqmYJI6qsZSyZ9UO7ak+mg1fkIIWGeLa55loiuWUaYC+q+X LJJA== X-Gm-Message-State: AOJu0YwsRKMb7ki/IwNtj+19NyTq40zz96t27w9ESeU59w2NQujrv0Ta QiaxcimKmyN6F592zBX2mjgVkXuL7IuDVCYNgc0D4cj+35dw2wQDYTi0xRn6tUFbSRZXSQmBFEB UiWESqZQYCtvQToiTomWPrRfH49p9w62RkCC9nQ== X-Received: by 2002:a25:ab68:0:b0:dc6:898:150d with SMTP id u95-20020a25ab68000000b00dc60898150dmr13819614ybi.25.1707038721826; Sun, 04 Feb 2024 01:25:21 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240203-bus_cleanup-gpu-v1-0-1b6ecdb5f941@marliere.net> <20240203-bus_cleanup-gpu-v1-2-1b6ecdb5f941@marliere.net> In-Reply-To: <20240203-bus_cleanup-gpu-v1-2-1b6ecdb5f941@marliere.net> From: Dmitry Baryshkov Date: Sun, 4 Feb 2024 10:25:11 +0100 Message-ID: Subject: Re: [PATCH 2/2] drm: mipi-dsi: make mipi_dsi_bus_type const To: "Ricardo B. Marliere" Cc: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman Content-Type: text/plain; charset="UTF-8" On Sat, 3 Feb 2024 at 22:20, Ricardo B. Marliere wrote: > > Now that the driver core can properly handle constant struct bus_type, > move the mipi_dsi_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/gpu/drm/drm_mipi_dsi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry