Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7119010rdb; Wed, 3 Jan 2024 05:24:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IGFNW7tsevT5XY/LzgjrDASbprLyJvlOj5GdSSUOqWMQKcYPG8KGexgHD9UDY1M0WyOmcks X-Received: by 2002:a05:6808:4ce:b0:3ba:10b1:7a24 with SMTP id a14-20020a05680804ce00b003ba10b17a24mr18674453oie.105.1704288298133; Wed, 03 Jan 2024 05:24:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704288298; cv=none; d=google.com; s=arc-20160816; b=oohVXflldw8ethFXw+4aDKT0RBrpsN1Ke6yXrQ1HvFK8G9LvIXulrJza2fNpq67InH TtA4rZE3jaNSjMUAxopCmVkmerzRiQ00rmzZ1WtUeB8VCWh0Iu+7yu8V+v9PegKYEj2l 7Z4doN05s2LaXus0BVSJGlKDXmpe4sZDb7VgVZAzPNySR05dW4HA4IDKe/njGPkyfOb7 ICJxOkwdN/uEslT9g/Xt7I5nQ7atsJjqTjHQIeB5wbKXpEAEiPub+CGyXXg4rb1tUnpr PvJiXtl526BgNNFtvD2ZoVZWDKIMJzMi21vL0jpyJtx1S/TTVDnVnlzKU6viKmy7ws5S GyJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=zVYUrMR5l/gQK0rOqJU00ejAD4fok0wMm8sVpiWZgDQ=; fh=YQh55hY+GKODKck1HpEv3Wya7M22FwxMwOLutn3kZKk=; b=LN6iVARcrE+iM+K/aP9tJqGNG3koZmPvwJCgr+w7IcpjICtBCa+r/5Bn1LsYcV8c9h nMXGVRKqKj5z20VYtRO+ZFcGnotPqMXcjw+4seIUdYOYKMdtP4vCKJpX3/i1ARCU7+NE wUhJ8aPZSlWzCeEjUzTFafrnTkmdbHKtWiDOrdEbeAvb+VDb6CuLoDIhK0CcsxVAcWhW vZCey99p1Ax5KeRl4kDN8kVzb0SYGrJzNetRVbNXWs2Z8S5JtG99+khLxdRq6KlN7WCY NnkihZ2cKzn9U3p+1mZFw/yRaEOiqXt43BMrk4P4P/FupROX2ay2Z7hR9XOhoVjv0aTe L+eA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BUjYrPXs; spf=pass (google.com: domain of linux-kernel+bounces-15562-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15562-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 8-20020a0562140d6800b0068028d722c2si21380930qvs.554.2024.01.03.05.24.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 05:24:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15562-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; dkim=pass header.i=@linaro.org header.s=google header.b=BUjYrPXs; spf=pass (google.com: domain of linux-kernel+bounces-15562-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15562-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 49AEB1C20E23 for ; Wed, 3 Jan 2024 13:24:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 04414199B2; Wed, 3 Jan 2024 13:24:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="BUjYrPXs" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-yw1-f182.google.com (mail-yw1-f182.google.com [209.85.128.182]) (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 D4E66199A3 for ; Wed, 3 Jan 2024 13:24:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f182.google.com with SMTP id 00721157ae682-5f0c0ca5ef1so31051377b3.2 for ; Wed, 03 Jan 2024 05:24:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704288282; x=1704893082; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=zVYUrMR5l/gQK0rOqJU00ejAD4fok0wMm8sVpiWZgDQ=; b=BUjYrPXsPsflyCW1O3B9DRu9vczdwZyJPD8RpAWsIg6ORiDbrNr9HiyqqexZrpoQGA 4HTxnjBM+L9tMq6KEfG5sERpu1/g4eaaCkKBkHSxZ4DUvfr2bxUB51BJBznr/A+UqUyB uXEQkqCsgYgo/N6mCGN8OU9hIuuXue5jvP69P8W/UrVZEP101c83yxxCxpHLLuZH0o7c Z+RASD3MnfwGaFBztmb/2ztNhNKY9VjSR/ssfx49AR6ZGc8Sg9RwDNtCTPCJIn3ePXHy x5eS4D82c+U4/BgY9TDvrMOXhpptpLwya+FCXr4xi0P7fcdLm20s4BYkHY0BwJ9G/JE7 ctQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704288282; x=1704893082; h=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=zVYUrMR5l/gQK0rOqJU00ejAD4fok0wMm8sVpiWZgDQ=; b=vOF6bjiLJj7JH5l7LXBA4h5arbYIzHVVnPDsqI08kLakjP09Lad2M/E2sxCKbqJzZ9 MDxQROojgWfOddQ7skG4sI0hqSCnJXw1OzVoOTU+Sl6lPIAlb8r7JHwuZLLe4SRc57BJ NEpSHp9iizAOYrIhP6RwNi9dD5BuFOkNEx3jtIFB0Nk7veLLVtzKr01b7iAm3vFqUE45 7YBuYecNgj8JJQmg9nscFqjrwgvMkCi5Ib9rvDHTTynUGLfN6xptXgrzixuCOcPqsB8e WEN7oXjkicaglh4w+yoTufYSmsx1nRFnSY+NPFojArYT5WWYPMP4X8FrlvDXlmwBnwDt hpug== X-Gm-Message-State: AOJu0YzLFQmXynhIhYyey7G4wVmIBUxxLnNXPZ3CzTV3OKBZLehjXOqk q6+DBgfdLwa291cE9FO+5VC4uoYrxlsgwIlVbDGQiW7X5iPQLA== X-Received: by 2002:a81:be15:0:b0:5f0:c7f8:35df with SMTP id i21-20020a81be15000000b005f0c7f835dfmr3745787ywn.70.1704288281833; Wed, 03 Jan 2024 05:24:41 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <2023121908-paver-follow-cc21@gregkh> In-Reply-To: <2023121908-paver-follow-cc21@gregkh> From: Ulf Hansson Date: Wed, 3 Jan 2024 14:24:05 +0100 Message-ID: Subject: Re: [PATCH] driver core: mark remaining local bus_type variables as const To: Greg Kroah-Hartman Cc: rafael@kernel.org, linux-kernel@vger.kernel.org, Dave Ertman , Ira Weiny , William Breathitt Gray , David Hildenbrand , Oscar Salvador , Kevin Hilman , Len Brown Content-Type: text/plain; charset="UTF-8" On Tue, 19 Dec 2023 at 16:35, Greg Kroah-Hartman wrote: > > Now that the driver core can properly handle constant struct bus_type, > change the local driver core bus_type variables to be a constant > structure as well, placing them into read-only memory which can not be > modified at runtime. > > Cc: Dave Ertman > Cc: Ira Weiny > Cc: "Rafael J. Wysocki" > Cc: William Breathitt Gray > Cc: David Hildenbrand > Cc: Oscar Salvador > Cc: Kevin Hilman > Cc: Ulf Hansson > Cc: Len Brown > Signed-off-by: Greg Kroah-Hartman > --- > drivers/base/auxiliary.c | 2 +- > drivers/base/isa.c | 2 +- > drivers/base/memory.c | 2 +- > drivers/base/node.c | 2 +- > drivers/base/power/domain.c | 2 +- This above file has moved to drivers/pmdomain/core.c and I am carrying that patch in my pmdomain tree. If you have the time to send a separate patch for it, I can pick it up. Kind regards Uffe