Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2110744rdb; Sun, 4 Feb 2024 16:04:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IGhShRSqPGMrG6J4pFrvTviaQbEAjok2r55E+jdy1+8r0gPb2Lyj6xroMXGF4Wjc8LTXBAC X-Received: by 2002:a05:620a:85c:b0:785:43fd:9828 with SMTP id u28-20020a05620a085c00b0078543fd9828mr12964950qku.65.1707091473812; Sun, 04 Feb 2024 16:04:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707091473; cv=pass; d=google.com; s=arc-20160816; b=qU+xwFcOuA53cJGwwdwYBiJPF9pY3j/SV/UynYMoxKV3401pzuh66V0mDWZcbsuO/l 2VkbeDoyobOFm7mrJQCeQ56XbpS8FOwPaNmZ6krj5CfTdpGySSERX1zf0c7Tc1RB7Lub 9klM3Lj+4cr+I4gsuqCTEGpXdeVe4ZIV2QeSEtBbIfRrzeQm4s1iumJpJAzef+yUvT/2 yUacwBFkj/shBXep9ubokgcB8L1dQBDo9AEwopJyt9XZM0b6O5CUCPrfZtbDcBt2FHps +gjsEJD3cLE1ofUcM5VlBCb2rfTGvEwl5ADhv3wPVjo6g6KRwAqBB/Ei/1/GoWgbmymn o+og== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=3TPBEhVKkUi3MUXWKbW5M7J+VojJA4DV60zXIZ2deSk=; fh=/ZpDxUiKhnFqWlabCHtkShFoYp36SjRIKMdz30CjNbw=; b=Q74BDaO2DeXV3jnfgT9LpWtMZk77pRTU9aFnw7UfMvP0VI2iRcU7G89LElsuxqYqbe cJlODgWESLVzKC/A9vJE38l1loi/1Y+zkyd3zpNpNPLkQTyroVz34u9LB0/+EBUKifJV 0zsgklQuOVFKDtnpKc99P+fMYy9eTicfjDbnNYDyGjyaci83KUriYIajGpBvO/GAbiiS wwPkr96weEIIa6PVgpKyeMoXZPv4S3MFKKz3l8PCpLtvayIoV8a+JSzfGk4DyXrISzEX 5yLrELS6SjNCNmTMqfEHDpL+iKHwiowoUBFxOjCIUiFCEg1fXA9agpGA6eI3aUS+XRDv rrdQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=lbHNT8Z1; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-51960-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51960-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCU9C1wH9h1EXZKsf7PVqFEZqsqOVr8cxQ8ME+9zWVpkNmYQ9tEqlMWBRwkfY+UwqLk0ZCb/2Kh6RjrZDc1Rew1XJ3R28cWKcEodG0PQxA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t22-20020a05620a0b1600b0078408dee45bsi7153375qkg.508.2024.02.04.16.04.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 16:04:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51960-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=lbHNT8Z1; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-51960-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51960-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 8C44F1C21C63 for ; Mon, 5 Feb 2024 00:04:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2A9ADA932; Mon, 5 Feb 2024 00:04:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="lbHNT8Z1" Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (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 C17539474 for ; Mon, 5 Feb 2024 00:04:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707091461; cv=none; b=LFCNb4uyb/tVZL/Q9kWc4IuGnyaDlMj7EReEwPsXdqAez4LGYrD8iMXNCO0UlnfEcdKbNH368Crn6v8R3OGzMLq7+F4RUzgAkZqEBzKC0FhuGYHoAsMETvuc8NwHpFuYIEHmB6eQ9EteVENpRiC5WnJyPtNbuVjIFxNYv8xszeQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707091461; c=relaxed/simple; bh=SCetIew51dJbYcIqSnrPHe54RgWCSP6GOCbrfMIMgbk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=W8682crsdYchIgPpbuj/jImRxebvsn7aBOoJO3PyP5qcLrFy88ySHW8x8/edZUx41z7fc/La9fNEPLkQhh/n+Bk7lCyadUirMF098GNNnT7ExqTbL64UORc/EfihkstsqVxb7z46HTaPjkokdQlWuDaPGh40zeQ9jMRUikKRm24= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=lbHNT8Z1; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender :Reply-To:Content-ID:Content-Description; bh=3TPBEhVKkUi3MUXWKbW5M7J+VojJA4DV60zXIZ2deSk=; b=lbHNT8Z1K4U23/zJsje4Uur+Yy 5Fpkv6IB6bHVR365sc74jef3XaAdacZeWtTkgsg7x45muIOQcDLImbE8bkdxHtLKRt4ibzsuWKON+ c3SHV1rK0ypmNUjLoTM87vjZe4GGCD+EwIIAZv3xpny9oQySRQAZHPTEAyNNccLi3OMAILmpq1kpg QnlA/BJbtS4NEyb7VJv9yvTba20pWnwjncoZ2zqIUMUA8lWxKDXm29z5s3D4mhtRQnn40LeQezjn3 7VG+UdGabOUTeDppM/jbw8s08eyEY7ljGabb7ryaX0d2w/KW/TmBoqeji5RxjWDa5QtQdpboUSbf8 DJRld2CQ==; Received: from fpd2fa7e2a.ap.nuro.jp ([210.250.126.42] helo=[192.168.1.6]) by casper.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1rWmT1-00000007uaG-3GPX; Mon, 05 Feb 2024 00:04:09 +0000 Message-ID: <04c1b434-2ae6-401d-93ff-61641e1396af@infradead.org> Date: Mon, 5 Feb 2024 09:04:00 +0900 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/4] powerpc: ps3: make ps3_system_bus_type const Content-Language: en-US To: "Ricardo B. Marliere" , Arnd Bergmann , Michael Ellerman , Nicholas Piggin , Christophe Leroy Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman References: <20240204-bus_cleanup-powerpc-v1-0-c763f0e142e9@marliere.net> <20240204-bus_cleanup-powerpc-v1-2-c763f0e142e9@marliere.net> From: Geoff Levand In-Reply-To: <20240204-bus_cleanup-powerpc-v1-2-c763f0e142e9@marliere.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2/4/24 23:21, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the ps3_system_bus_type variable to be a constant structure as > well, placing it into read-only memory which can not be modified at > runtime. > -static struct bus_type ps3_system_bus_type = { > +static const struct bus_type ps3_system_bus_type = { > .name = "ps3_system_bus", > .match = ps3_system_bus_match, > .uevent = ps3_system_bus_uevent, Seems fine. Acked-by: Geoff Levand