Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1794289rdb; Sun, 4 Feb 2024 01:25:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IEezfyxVq5FWPr8iASfbfrJpCgxl30aud2P8CLPFBXzltIw0r67UCUylyuJSVkGhPGI+chT X-Received: by 2002:a17:906:314c:b0:a37:4765:658 with SMTP id e12-20020a170906314c00b00a3747650658mr2356662eje.34.1707038707795; Sun, 04 Feb 2024 01:25:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707038707; cv=pass; d=google.com; s=arc-20160816; b=z+9yvDhDlTzIfPHy5wcyt9jZVtFf8HneBAMt7WvOQaU7HH2K57bu4qzxDobl4R+lq8 IRf0xop+qOQYetOeTV3KFJ+Gg2WAuGILuiO/2aRrML4Rk5KF91pKcy+V2tvW0X/pKLqm tNllnBQUXfFvmRKrSgILDAlpCfadvAF7K+DR6BE3m+xIjGyIUnc0DYQowUwaQMOKfqu4 biaoNkRMWbS+8NHFm9SKJkgucTt65XBZN4GQIQ0S3Yf5l6halHpqjP/6InOCKZa38g9z I49CO9NqlHTbVlHPITMXCbZEwECJ0uRuzPFhzk7JnWWw6o+R2ktqE9fCqsh+ZVr0XHYd yXHg== 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=2b+xr5BMCprvoEPQzNmAjEYtPrTUzef8KsERa7FbL7o=; fh=Ig/8Q4HmnSuITVO8rHXJfOFBtFwCB2NPjkRSHBu1zLg=; b=JfLR6pBIHE1XZudm9HeV5cruK2fxXNfQ6vnuaI+fv3YTDE2QtBDZ5mRjoKQ8zwbW0v xaiiNqI+n3rJGtasTSzrUKyhG8ASPwnI8TLeZVdXPTHUl+8L/urjUsK84n3LnqqDjG8J dMJGARZdVFEHNpSV2UgC+qypgMAM3gwnsBt744U8kXOJSLht+QbhGjuiQYVfVY9sBskX Ujb75UD39wqG8mCo0Dl8WVqsbqfdHDYlC3TP97VfHUH5ba7eROr0eT7wn7kLTvruSn61 vJr1YLqe/yYV8WHHCpKqxHPrBsNHcu3evhMAsh1+Fw6fLrGY1aPPu1u5AKcdFGW2h9kV GqCg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=W9Cr5io8; 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-51554-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51554-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; AJvYcCWA/PDJpO85HnuX3sYvzmiWG090OKEbhQSI2HU1syA8peYfEeHrY/qQXw2n9yuKWKxfXb0DXXLoiUoV0kafudPWaZsHjBfC+sPq31/SOg== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id x23-20020a1709065ad700b00a377427a04fsi896458ejs.876.2024.02.04.01.25.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 01:25:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51554-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=W9Cr5io8; 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-51554-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51554-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 8501A1F22449 for ; Sun, 4 Feb 2024 09:25:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D220B18C08; Sun, 4 Feb 2024 09:25:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="W9Cr5io8" Received: from mail-yb1-f172.google.com (mail-yb1-f172.google.com [209.85.219.172]) (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 7618A18AE8 for ; Sun, 4 Feb 2024 09:24:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707038700; cv=none; b=NQwnX0xGOjAZKlZUHkNKaAPeCYkeFe8YOACgnvSS0/m8qOkZxolRSgoYQVOyU9dsq+b1TXB04MPi9rrme+mvIhzXUW9X5xi0SId0JE/e8zf8bwAFrzO0pRd7I8jgrfE/AEdleTyb5Pk7i83ojd2fJrcPKLgi6GDPx4rOSzgv5Ac= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707038700; c=relaxed/simple; bh=c22ibbLWdRYtRiSU4q2uZwp1/sRlSaINMVqva6CigiA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Xlmilm8QgQE4qfhUOwcFKzxWCsXivQMRmO2XHO140ntf0GVqXfAiNAAF4qOXSxRzynVjyIr6MBVHkLR89aqOm15ODsj8SMngiBRTpj4BdjD1QCeiKA3QmV+wTQjUZ5jEKVtczwI1sK0ghc3tNtsHCqb5I3W6RRg93qAkfsxd+SM= 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=W9Cr5io8; arc=none smtp.client-ip=209.85.219.172 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-f172.google.com with SMTP id 3f1490d57ef6-dc6d9a8815fso3223802276.3 for ; Sun, 04 Feb 2024 01:24:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707038697; x=1707643497; 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=2b+xr5BMCprvoEPQzNmAjEYtPrTUzef8KsERa7FbL7o=; b=W9Cr5io8QMNMmvcwsrNCSohdOGRTykIrHj4YZ5V3fQO7CfQuTxfC+Wcr06zRA+qyQe cOmbC6LFid37c0/YdlnBJVrs9838ZDTkMvLJ+jZRyf/qbgFLXry2PwubXjeWjKGxFeie CCo5Avi/NqODHDOACPs3l63R1jEQvkHNBCyeLG5burZCo9GoyKWD46Nk6UUqTLySNcwd K/zGPHFN72NSUN1yEWO4DS6Aow4JFdRiD3NKXeQMrwOzUrwKY5FGo7K+mjTtuQr3Ebog oQP1XXLFVgs0XtEbx7fbGcbOvOu5BvoW5gBIBcMdKQ1OxWQRWwAhwnJMzmkXKe2K4z6T 1bew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707038697; x=1707643497; 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=2b+xr5BMCprvoEPQzNmAjEYtPrTUzef8KsERa7FbL7o=; b=sXCc/UzPXXndht6wt7P8rdR0/5gAG/sYYQXGVy31iZdJGOIKnCSmrT/9rvTn8NoZKd N7U6Dgjl8dgdbF38YiQW/PTrvLa4rW7jvcdTAuWkRQg6LhL6gQtRZkaXM3Tde7dCwaEx LW/NQg1SMke3kIg2YA415Fei/iuximfs+alThjHARLhRmrWnrrnoWZ2LMc+nxMe+vzI0 HPOdcm7mC/7RXTYnEUZ0X+PPJ+vzQM4kpfvMHx7v3kjuFvzqJAPLFD9U5MAc3Jhwe9/7 m/XZnMGeagrzZy1sD7xyRRnO2oFipIUHcHDbPrHtAp6u0+6AeIJBjir5Ylr/ssCrw5WK IvKw== X-Gm-Message-State: AOJu0YzrxWllHOD453FYpODWUJe9GMne/K0ugk1jLDegBZTL/nlMu6Gw l6g44AsJ/XT1vr9OGHToAOXlBWYfj7h2xps4a9d5YtbAJXVHGcMTZFSWGrQF7gcMJAgh3EpU2UG MOpQQyub+qtjRbddcTublyaVrowcDHo2mSernoA== X-Received: by 2002:a05:6902:248b:b0:dc6:fff9:dd7e with SMTP id ds11-20020a056902248b00b00dc6fff9dd7emr2742938ybb.60.1707038697653; Sun, 04 Feb 2024 01:24:57 -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-1-1b6ecdb5f941@marliere.net> In-Reply-To: <20240203-bus_cleanup-gpu-v1-1-1b6ecdb5f941@marliere.net> From: Dmitry Baryshkov Date: Sun, 4 Feb 2024 10:24:46 +0100 Message-ID: Subject: Re: [PATCH 1/2] drm: display: make dp_aux_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 dp_aux_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 Reviewed-by: Dmitry Baryshkov > --- > drivers/gpu/drm/display/drm_dp_aux_bus.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) -- With best wishes Dmitry