Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6547611rdb; Tue, 2 Jan 2024 05:45:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IEezHvgHwn9t67e5IX+zr8hQ5Po8ROTU/Q+hr7jkfmIV14hdpaUCI4Eat24DwSujMgb5dOB X-Received: by 2002:a05:6a20:7f92:b0:197:488e:bc4b with SMTP id d18-20020a056a207f9200b00197488ebc4bmr407944pzj.91.1704203107980; Tue, 02 Jan 2024 05:45:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704203107; cv=none; d=google.com; s=arc-20160816; b=bnpPO6OSj6aR9yeASXLRxSW+RVEirvveczIqM3EdRmygH6v7v232c5/lfZOkDjrGYX Aa45eS3xhPqkGYt5Lf+x0No6xNTSdeKShWiOESuxmZDA7hWTUa0TK7cRnilupP0GoNTr 9z7r5w9JdmRMmoHhBSJHlhmiiTiHOJHi/p6xncJhp7iJX4GUG7vvpeyDsmWAOtS6o4iO cxgB/hsPv5QHKIadBiQ/RBzmeIx4mNhX7B8YEGFZfutNtTeJI7RpffY+XYX7yCi2kE47 npsRli2+1a5TtTxdHPF96tQexWqElPG/tFpS1yZYSU9fZCX73mlxUVuHLlA+Wvqor4Xe 3/zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=6DYncoESukH1ZORX+2NqmpDXrQFXLkQPwBywozSGpPk=; fh=y3B0jp5FdkMVgeKR2zFHCQQraxuA/nsBzv5N06P166A=; b=SFsN0b6jsTrB9IiLrPr27AnPuzLcdvEMSowAjgnkrHmaQTBS4TEnlaO/TGcME1ln39 +FsED4ZbzeJ3MTSM0lTYaB9h5ukIM07aoI6/ky4RKyciZrr8hwxz7kfJXDC24MAgn18X OfQtTvXJBHP6fyVN82tTc8h1rRakhc3iBu8vwizBujiSUzsg9wWZj0UQdbv6RFAdDBKv XPG5oRue4JK5U5gifa3WIrF0YC1cHwnULyat2d6iqlMsX/velwUoWBrdlCGr5FRVTUws uMQFaNzkoUymljuSviR1i9La7GRT5AVchRoMjsLYy92cVovclQcl/rMV//Y8J367qEFZ Vr9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=MRV2LplK; spf=pass (google.com: domain of linux-kernel+bounces-14422-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14422-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id v10-20020a056a00148a00b006d09bca867fsi15198080pfu.121.2024.01.02.05.45.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 05:45:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14422-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=MRV2LplK; spf=pass (google.com: domain of linux-kernel+bounces-14422-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14422-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D70E7284CF1 for ; Tue, 2 Jan 2024 13:39:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 37382FC1C; Tue, 2 Jan 2024 13:35:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="MRV2LplK" X-Original-To: linux-kernel@vger.kernel.org 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 5EB3FFC0B for ; Tue, 2 Jan 2024 13:35:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6DD25C433C7; Tue, 2 Jan 2024 13:35:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1704202501; bh=Ibk8sEOGH1gE85+6yGGE3w/Leiem7H6nu9lxyv2HE+A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MRV2LplKk9Axo7cZAsrgqjdS5INN7OyvKVF+P6opgkLnRNhjExily3q1EQ09tnbxG M2GumwlVoWifzu85wr8fz5KYgDwApkbzr3XYaLIDFRah1AzsbYbXQa4fv+9t7FI+V9 gBLW5gHgd4xjJuoXJBMNNpXPR7cokY0L3xxTS8q8= Date: Tue, 2 Jan 2024 14:34:58 +0100 From: Greg Kroah-Hartman To: Geert Uytterhoeven Cc: fthain@linux-m68k.org, linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org Subject: Re: [PATCH] nubus: make nubus_bus_type static and constant Message-ID: <2024010254-truce-populate-70d1@gregkh> References: <2023121940-enlarged-editor-c9a8@gregkh> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Tue, Jan 02, 2024 at 09:16:23AM +0100, Geert Uytterhoeven wrote: > On Tue, Dec 19, 2023 at 4:48 PM Greg Kroah-Hartman > wrote: > > Now that the driver core can properly handle constant struct bus_type, > > move the nubus_bus_type variable to be a constant structure as well, > > placing it into read-only memory which can not be modified at runtime. > > > > It's also never used outside of drivers/nubus/bus.c so make it static > > and don't export it as no one is using it. > > > > Cc: Finn Thain > > Cc: linux-m68k@lists.linux-m68k.org > > Signed-off-by: Greg Kroah-Hartman > > Reviewed-by: Geert Uytterhoeven > i.e. will queue in the m68k for-v6.8 branch. Thanks!