Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6411087rdb; Tue, 2 Jan 2024 00:16:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IEKz3/NOpoWfzYHSug8iToacUbgmle36/Fh57Yu54QIp+ZMIKhXOLS3s4KrKIyIjdxiXBy+ X-Received: by 2002:a05:6e02:1b8a:b0:35f:f02f:40b7 with SMTP id h10-20020a056e021b8a00b0035ff02f40b7mr18141811ili.10.1704183404186; Tue, 02 Jan 2024 00:16:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704183404; cv=none; d=google.com; s=arc-20160816; b=cX+mJCO6X7KR/CL51RudMTtOcfzPssZBv2xzvJDbzSSDkggb4d2nvtaBv1KrKS5mry v2Zydt+UVbQfgDTb/Pxhct8lf9i+DLtoLrYhH7DIKUKW2QIW8ovQk1pIX6PmB2fAjjor RcwvZLNtDBNANnihJ2cKX8+ouSSARnInWAoS3Z7sVLfx2EBSLAfmou+AD5O7JzF19KY1 drj8pu5eTbFgjEomrI4qGn4EvwKuJuIfjVq1ut87DgZortOjCUVfu4wVQV93WqF/cfd0 uBq71UjvN/GkPgZjoXnhcns+yv1rLa+7mP/PujSH+ZuccIQWUlHhEnYnV7+tO7wAdGdT FWvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence; bh=vG6YMET/rAdhYaAa0Ujzpcr2MAAod3ZbBY1wyg426ig=; fh=B2ljoVI+jPPOehca/xuhDrOcGYwny+cEYyqPbjy7mIQ=; b=JiBs5WQ+FbS8K8RHGX4iojY3S6I0UDtyOoqSmFCkZJUmyo4HnSHa5io1nl3MSMCjZn UNuGvfbr25CekmT6SEkcedKmBeLvdfuS5laPLybPIL/toeniIWUmD8PR5DnynYG9JHt5 63hUOhGCC3PpOn5sAraJPEZBx/Tn7QZLBa4whrWEoE1QlECiQzgYNj33K2qD4O5l7OHN X/cPK3ucueHgu4tk8B6CoeJaTtRnngeIhNZt9sZ1Rn1/fCWdOLD/2YyMvgudTuzWd23c +oDhU19MTTrPuJXTv5A+/ZWAgiOGsUdq6qQqxCnoDXRBWJ6sikgakA/Frph/OLaD4U4A IYcg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-14135-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14135-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id n127-20020a632785000000b005cdfdcc946dsi16609373pgn.512.2024.01.02.00.16.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 00:16:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14135-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-14135-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14135-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id CD37E282443 for ; Tue, 2 Jan 2024 08:16:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4BDC7469F; Tue, 2 Jan 2024 08:16:38 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mail-yw1-f175.google.com (mail-yw1-f175.google.com [209.85.128.175]) (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 30FD44431 for ; Tue, 2 Jan 2024 08:16:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yw1-f175.google.com with SMTP id 00721157ae682-5e7f0bf46a2so73363927b3.1 for ; Tue, 02 Jan 2024 00:16:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704183395; x=1704788195; h=content-transfer-encoding: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=vG6YMET/rAdhYaAa0Ujzpcr2MAAod3ZbBY1wyg426ig=; b=ixRKADhhs3AQJPiM+rSeDRGhx26d9JNgONPKe4vY7xK3ndKDZ9OCLj/Fv0s7KrrqYv yAWO3rA+hQsreT0XEugRWuAPQNQGtwMMDulqSYOyhORl3dUN8pe1PNKzP3/s5iMjDDTn Y40bjwK2P8bHZaT4yrf1d4Wg3cwFgjSQFpyjqO/k0or6cot5wGKWByum3XDyV4ASBwPV I5wlNiCs7pKPIWvocs64SbDGCeiAH23/dP/pQ6x7lkP0im6jwFWCoIjgymVkkmX4PGgr v4pinE2qVjrw2qPNdEavXjSL1gE6BHZWeMiwK9vuOhyOSV6bMG3XLEsQpUj434j/MIXj sD9A== X-Gm-Message-State: AOJu0Yxj3yQrgW+JmIWEmN4t4peehIHttfZqWDRlztJHHWL2US5CNcEZ tMpk5LZvR6e4tk1H/Fk/nzOxZb9baAx/gg== X-Received: by 2002:a81:df0a:0:b0:5e8:c696:a756 with SMTP id c10-20020a81df0a000000b005e8c696a756mr10641467ywn.102.1704183394968; Tue, 02 Jan 2024 00:16:34 -0800 (PST) Received: from mail-yw1-f182.google.com (mail-yw1-f182.google.com. [209.85.128.182]) by smtp.gmail.com with ESMTPSA id z4-20020a0df004000000b005e8fa7114dbsm11949523ywe.71.2024.01.02.00.16.34 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Jan 2024 00:16:34 -0800 (PST) Received: by mail-yw1-f182.google.com with SMTP id 00721157ae682-5edf3780534so40064347b3.0 for ; Tue, 02 Jan 2024 00:16:34 -0800 (PST) X-Received: by 2002:a81:df0a:0:b0:5e8:c696:a756 with SMTP id c10-20020a81df0a000000b005e8c696a756mr10641455ywn.102.1704183394483; Tue, 02 Jan 2024 00:16:34 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <2023121940-enlarged-editor-c9a8@gregkh> In-Reply-To: <2023121940-enlarged-editor-c9a8@gregkh> From: Geert Uytterhoeven Date: Tue, 2 Jan 2024 09:16:23 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] nubus: make nubus_bus_type static and constant To: Greg Kroah-Hartman Cc: fthain@linux-m68k.org, linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Dec 19, 2023 at 4:48=E2=80=AFPM 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. Gr{oetje,eeting}s, Geert --=20 Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k= .org In personal conversations with technical people, I call myself a hacker. Bu= t when I'm talking to journalists I just say "programmer" or something like t= hat. -- Linus Torvalds