Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1739398rdb; Tue, 20 Feb 2024 05:49:33 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUgCUpynTWa8GwvVv2YsGlZpK+Qk/lzDKSoPKQirvEqjBtc+jjZc5I66bUGRLZMRJtg40Yl0gGCjwwsTdhXfrMaAuI5BpblWpdn9LXeug== X-Google-Smtp-Source: AGHT+IHEzw/dDELWJ25qL8pqJ/rydFhRPeV2otXkQ7A7GUapEYg30/i3H4M07dSFpYBYNsHWNzYd X-Received: by 2002:a05:620a:4014:b0:787:4761:6962 with SMTP id h20-20020a05620a401400b0078747616962mr14343348qko.25.1708436973119; Tue, 20 Feb 2024 05:49:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708436973; cv=pass; d=google.com; s=arc-20160816; b=uHs6MpHeOFC13fQFwBP82Lnpaw71V0Cgj/iGizqlIf92TqK0ngYG9yAGyipXoW7GVX T34rXxvDVAxbJocHXjVL2JEZpr3qkTcgIIfxwLJFDUPURP77fIcQ6JhWnIIhMBrBb6X8 LeIxQs782ZN/ipwdqiR/ScXBVi9rYPCCAJPLAs2Y3CsJ5ddZ4ji0duwAl5sGl2Biq1wv zR4jW2qic0vWTcBRGB1tGsW5088Hd1R87HqetfyrAvPet4as9ppCcITG9cc8mRic3uUG 8f72lUr7shfHRkXK7QKAK1ZmZLrQdM54TMEOQQb7dYmmO7ai8heFHUN14g27r+sFkUOk BTpQ== 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; bh=Q1GsWQQm14o/dzNqxls4iUNN1BLbsRN1g+uiu5FJaIE=; fh=9ifF764YCBBhw6CVY4LJUuOP3ZUZFX/xz28mj5cGqRY=; b=fc5SnOIeSTCDNlb2oRbLYFrBJTRIyO7BFRKRHFIInSLIl7qJJPSvlbLspACUBkH5Pp 6JiKWpVpdMjfUREyu0Yg0aNP8nbdmHjUkRCjth9WwzP+Mpkwi2F6cAfWPji/0N7OnkmA 9poBlxDhce6vnzrMIi/SM1CwAlS5/QhKUJKCtsKgzzNonkhXzt7xlgHzA4YT3yPT2q+W JHDlw0xx4hTSFVFPRVo7rC2zV2GAEAzYpl24mMsHBud9wfL5QKG0i2EwbDzwqS6KJRhV y6Gem+g38IjHEGFqxpL9SXxo4XK5vkyXrkifSUR0f2Km7bONRDKlQ/srC3MTHCX6CRfX jMAg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=alpha.franken.de); spf=pass (google.com: domain of linux-kernel+bounces-73096-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73096-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id dw26-20020a05620a601a00b00787548c638fsi7890119qkb.541.2024.02.20.05.49.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 05:49:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-73096-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=alpha.franken.de); spf=pass (google.com: domain of linux-kernel+bounces-73096-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73096-linux.lists.archive=gmail.com@vger.kernel.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 DCFC81C22EE0 for ; Tue, 20 Feb 2024 13:49:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B0BAB6BB54; Tue, 20 Feb 2024 13:48:54 +0000 (UTC) Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F09FF6A348; Tue, 20 Feb 2024 13:48:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.175.24.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708436934; cv=none; b=I2MWgxHTZuy6rgT9Z0wX/6FK06xQWRibTa2KSa9kEZhXOEskjR0suve3uMVpQx8M4IrcD+gWLhkbTDFSKA3mJw0NFWog6e8pxzLxEiiuTj2vWQp+UcCpXp2qF6ybG/nwO/mg7J2j1aD3whBKeSa39dvdiBZ2OX3D0XA6cO+E9xY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708436934; c=relaxed/simple; bh=8GvFNVF9duq/2bUVAkBo5DWH41frpnACDn9XWjN8Zj4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZcHCww2t04Lo7oD33q1djZ38xZ78ygIQV4P5lEZfUR8gUp9eKkeyDutpns3FINC5YLkJl96D47x4Uy8so5/egDnDfZIN36Ntwk5mnGNITv/H697DtLdb+m9Kj6QY8JNyxzJ6TivMxeHl6zqNkPVSJ+y1fhwELnUogzYtczI/4fc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=alpha.franken.de; spf=pass smtp.mailfrom=alpha.franken.de; arc=none smtp.client-ip=193.175.24.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=alpha.franken.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alpha.franken.de Received: from uucp by elvis.franken.de with local-rmail (Exim 3.36 #1) id 1rcQUF-0007Of-00; Tue, 20 Feb 2024 14:48:43 +0100 Received: by alpha.franken.de (Postfix, from userid 1000) id 4C9E7C0AFC; Tue, 20 Feb 2024 14:40:10 +0100 (CET) Date: Tue, 20 Feb 2024 14:40:10 +0100 From: Thomas Bogendoerfer To: "Ricardo B. Marliere" Cc: Serge Semin , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman Subject: Re: [PATCH] mips: bus: make mips_cdmm_bustype const Message-ID: References: <20240213-bus_cleanup-mips2-v1-1-9c0e3d4a1852@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-mips2-v1-1-9c0e3d4a1852@marliere.net> On Tue, Feb 13, 2024 at 11:49:24AM -0300, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the mips_cdmm_bustype 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 > --- > arch/mips/include/asm/cdmm.h | 2 +- > drivers/bus/mips_cdmm.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]