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 7F08260B94; Tue, 13 Feb 2024 17:54:40 +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=1707846880; cv=none; b=kBul14Zkd+Xn6ZdxmcV6MuDcoHGJ+1ASUfXPlu5nn2fQllozSY/g9BgK81m0wnd2waDxyr3rTDdHi03vSu8BHF+Mn/VB75fEri99qwUBTQfRq0B+AM9jd2wew5+wu86r84IHzOo28rS2uoZXBBI5vfp0jqFpX8uYkvADpKF/geM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707846880; c=relaxed/simple; bh=eG84xnjwB6Bm8Fm8QqP5QJAetMF0V2eWI2ywMUmYJjc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ecBISfcqlxObl94bNlZ8mloglQRH8GjgJp6Ks0Jgg7v+GNEHnBw3AvWjgAQtfgWPjxbXZp26prb7XwXqHslw2ojEL9DBeNiNkqywIoEVkipziEtNE1VLf1QRifPIEGN7TBJbG27RHDuWd21oUV5MKpwUugZCbuBQRhXutFe7PW8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WHE6kJlA; 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="WHE6kJlA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65FC5C43390; Tue, 13 Feb 2024 17:54:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707846879; bh=eG84xnjwB6Bm8Fm8QqP5QJAetMF0V2eWI2ywMUmYJjc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WHE6kJlAo/gET24zqzSE5kRVj3rpRBFfY72dTrAUhAuChGu9wCeicw3dleOrvVunu a34DyFvr4BLhmrazZg+kJZX3xfk2Ig1tnaar1ydsUvHGQ14y+SrkzJochDZjimsdzX pGILfSOR+fVBHRou0gOzF1nMz9AzX1IRyNiOdSZk= Date: Tue, 13 Feb 2024 18:28:58 +0100 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: Thierry Reding , Mikko Perttunen , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] gpu: host1x: bus: make host1x_bus_type const Message-ID: <2024021332-unmoving-thud-02fd@gregkh> References: <20240213-bus_cleanup-host1x-v1-1-54ec51b5d14f@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: <20240213-bus_cleanup-host1x-v1-1-54ec51b5d14f@marliere.net> On Tue, Feb 13, 2024 at 11:44:40AM -0300, Ricardo B. Marliere wrote: > Since commit d492cc2573a0 ("driver core: device.h: make struct > bus_type a const *"), the driver core can properly handle constant > struct bus_type, move the host1x_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: Greg Kroah-Hartman