Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp134894rdb; Thu, 21 Dec 2023 05:10:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IHiKAmRmRSFeSQzM/X4f/OKUpy8hYDz7rU4XKMioe6zM2tKZrjpykEoaJh9WeXFb6bvvzD8 X-Received: by 2002:a50:baa7:0:b0:553:34b0:6968 with SMTP id x36-20020a50baa7000000b0055334b06968mr2817209ede.102.1703164231127; Thu, 21 Dec 2023 05:10:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703164231; cv=none; d=google.com; s=arc-20160816; b=V6JgF6NEK2Tg/nRw16PKostQWJAlUY/QhE6qrSOwYK3uYqqHFGS1KBvJBcOffPv68b 706uE5r9XFeAOM/AtqS6+9OvrqS+7RvyXcOxUIs7xdeU7AL6Fwcsy6A9lZcfIlETzXxb r/aD2AAjC5qMiCBxFPd0g486aw+KOowDrJHqAFJ04YlCSQoCV/unh05qJUkG5C8XfXBS yqvv5Wr2lSGYTJg95XUeuZOoULEtUX5sSGShyfOi5/plMA8jKIQ1FR9Xc2BeKVfTa3SE Pk3SHUEyE2fyIrc6WqW6rA8LD+ePJCAjmaVISfHfggqL7YsmhSMevEHt3q3NWqvmiML4 5f5w== 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=5dDxL6Qgph89jBoSKnwy3flVp7EdpYaCpmPIgcVIlw4=; fh=/SK2p0wavusYBDaIaG34Yb9lx/TDyeolMmOYoeh7S0U=; b=fCTrBWovlJL4cLAjVxLVHN4vf2dZG8q224bCSYtsK0jIv1JX5kGY+IHUC5yXJsFYiN eaU1aXQCjh1MZQSxVu2nCg3OHjxRN1yLw/iT+Ak0NymHB491LG5+7maqldhhmS2djBiJ uTdG/ugSkyvdM4eHw4SH5s65gEscrT5CUfnAVgCs51G3UeO8gcfEZ0kG/3NF0RCQ97uA eyfquLr1I3k2U3UN3x6todplm8gbImyLnDZmeJug+2Blre6sgDrN/tStYa5GLK6GV8Zr Rk0xX6lyWh2q/6TBPZSmMhf/WikNXsczc0S03xgyYZluCQBI+PdKrN22J5ZeWUOXdgY/ 2ccw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=VByLrBbg; spf=pass (google.com: domain of linux-kernel+bounces-8431-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8431-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id dn12-20020a05640222ec00b005530c6ae80dsi855203edb.79.2023.12.21.05.10.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 05:10:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8431-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=VByLrBbg; spf=pass (google.com: domain of linux-kernel+bounces-8431-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8431-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 8F8861F25A58 for ; Thu, 21 Dec 2023 13:10:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4209E73460; Thu, 21 Dec 2023 13:10:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="VByLrBbg" 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 6C84E73188; Thu, 21 Dec 2023 13:10:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB4B9C433C7; Thu, 21 Dec 2023 13:10:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1703164223; bh=+CCOLFjUWuo0kMo+F94tzNDUXNANIfRX23p7wOIacn4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VByLrBbg8keQB7qy7zRDT869faoZCf4CXilzHPdPd56zll+1QysujiZ5IOsTESxUQ cOppswM6obNmC47w8tcBRtFR5C7VhRHDYgdnImQW/uiWgcLrm7K6bxM9MDWfG7AmUr RG5tBSofVHCKkQa1KCOcwZXdcgufaUb5mYfbvTjg= Date: Thu, 21 Dec 2023 14:10:20 +0100 From: Greg Kroah-Hartman To: Hans de Goede Cc: linux-kernel@vger.kernel.org, Maximilian Luz , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , platform-driver-x86@vger.kernel.org Subject: Re: [PATCH] platform/surface: aggregator: make ssam_bus_type constant and static Message-ID: <2023122109-winking-stature-a487@gregkh> References: <2023121957-tapered-upswing-8326@gregkh> <7f763191-2148-42ad-b1ce-afd1a6d478ff@redhat.com> 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=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7f763191-2148-42ad-b1ce-afd1a6d478ff@redhat.com> On Thu, Dec 21, 2023 at 02:03:03PM +0100, Hans de Goede wrote: > Hi Greg, > > On 12/19/23 18:18, Greg Kroah-Hartman wrote: > > Now that the driver core can properly handle constant struct bus_type, > > move the ssam_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/platform/surface/aggregator/bus.c so make it static and don't > > export it as no one is using it. > > > > Cc: Maximilian Luz > > Cc: Hans de Goede > > Cc: "Ilpo J?rvinen" > > Cc: platform-driver-x86@vger.kernel.org > > Signed-off-by: Greg Kroah-Hartman > > Greg, do you plan to merge this yourself (fine with me) > or do you want me to merge this through pdx86 ? I can merge it, thanks! greg k-h