Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2595782rdb; Mon, 5 Feb 2024 11:14:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IF5/Guqt7SsdrTgG9ddZ5CIkW/O4rxJSmdUYF3/Xdspd0UU2Dkpfi6P1gam2besGqyAdxop X-Received: by 2002:a05:6870:7e0b:b0:214:fcc4:e384 with SMTP id wx11-20020a0568707e0b00b00214fcc4e384mr195019oab.15.1707160492687; Mon, 05 Feb 2024 11:14:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707160492; cv=pass; d=google.com; s=arc-20160816; b=TzBRoSwA7KdwB+tXlmjgRxM7z6GoLf0+8lmdohewUUOsRbqyQ1HWx5Hv/rQiWBrSge cEus+/o6PB753YXyTKtd6iNt7LtSLIKzihhPBMB/3jV58ZaDbS8RAyO1MWis5NpoLRXr IWglcw2UIvfgo/pQjLGX7PnlGQp9iZP9icxuQlxnhbaA39ajLKHk6Lt/10PRZlc8kL2K 3Vw1y0t7C8JNDHaHXdPKraefyZ2KXYNTeMl+tGpG/GANKFUWVmEjHtmPkzX9Od+UewXR sxyHEvXwTMEX162c4q//phDd0yvBNIegDqjrdwayswKw/QDfl6+oGRCanCDp2J3qEYi1 T0yg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ZyrEMGQZfx8dZisyR4vFNOWH1voPzirWMP0w1ipDoec=; fh=Mrun2uZpgKa7puCBKFavBYykCbzSHroWOkvHl3w/eCI=; b=0rlGPPmG5f8LaE9B/mxPExTGlsn+954IoB0AVcAZ23Ijo10+4l/1asVwjKXGoFqcHO 84gSNAJMyaSw0DkkoawfM9nk+mpnh1f6O2yFOFqnlGr6jhZIfrfZcOf6uFfL683KbzKR 1kH17AFK9YuMOjGMD2dCu/dYff980cg7SHIvyjowDl95KdMb4/i4TIa9KIOsIrF+Avog L+fkYtE0dickS76McE1NddUluHE09iI8PSsFXrMNJIO+0/whVJBp+Y/MEWpoJ+4tzAha tl/yfW1KaeMeeo2gaAP2rh9fcJsOi05A5nr+66vY5tH3v4dSgat28DWfkvaFLZck3iji 4wLw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=T5AhlBkX; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-53316-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53316-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org X-Forwarded-Encrypted: i=1; AJvYcCXByhSH3VnhvgjpVUJP2kdYfjpTxCL1Fa981+8UhceadeR60sZisrILp6jHirw7NvJqGs0PxrqUdSFOwXDx5eG4Pkk3XU69PR7vkyBv9g== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id s10-20020a05622a178a00b0042c21171241si519041qtk.638.2024.02.05.11.14.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 11:14:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-53316-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=@linuxfoundation.org header.s=korg header.b=T5AhlBkX; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-53316-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53316-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C35731C244F2 for ; Mon, 5 Feb 2024 19:14:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 055D05FBA1; Mon, 5 Feb 2024 19:03:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="T5AhlBkX" 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 297545EE74 for ; Mon, 5 Feb 2024 19:03:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707159790; cv=none; b=b6ve+jxMeFn9Hgr0p2cDsbJ8OGnCm8KIoJ8n6Ibb9U4LsTeOq/wuGIcelFOWoebxoL3uawmnXXp2SQx6XZECaXPFD8TRRs8cKZdPutoLC9YjG/SfGgZTRu2jNzeUH0hIF5mL6h1wz9apd9pEClHG2m246+TmkIcW39N6D6T5jQE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707159790; c=relaxed/simple; bh=9JYun6OKHv+kvMP09/1pbBtaCNVt/H2fMIxp02ZsbXs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=S51snCSK9t1ntYE5dRKVT7S7qXZCzQriOqJPJytEcqdV0a0ASHDhCtqtJu36lKC8wOnd+1mPo6OUpvH+h1gUBedcCg6qW5P5y7bPGnInA3tSyeiDPALkL8JXGOOWlDDZmn5kUEYMXkcmQ7SwykjLjNnJftY32S9kmHVpSBUBKh0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=T5AhlBkX; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A44E7C433A6; Mon, 5 Feb 2024 19:03:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707159790; bh=9JYun6OKHv+kvMP09/1pbBtaCNVt/H2fMIxp02ZsbXs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=T5AhlBkXqaf+EhHruqHRY01TwWyH18XGwr1BP460v5/ng+6RbRDr2WaHHAPDgeK2J Z0QlX6594tcx5K3nE/RUedn0rQKHdHcIzKC3zLbtJeqZuIWqauS2xonVuStVQYR74y 4YKaTK83dtfRMS4+JLnMwBwTKrrEcBXBDyRzP1J4= Date: Mon, 5 Feb 2024 04:46:53 -0800 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: Stephen Boyd , linux-kernel@vger.kernel.org Subject: Re: [PATCH] spmi: make spmi_bus_type const Message-ID: <2024020549-lapel-swipe-2c91@gregkh> References: <20240204-bus_cleanup-spmi-v1-1-ef7f278f1987@marliere.net> 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=us-ascii Content-Disposition: inline In-Reply-To: <20240204-bus_cleanup-spmi-v1-1-ef7f278f1987@marliere.net> On Sun, Feb 04, 2024 at 05:38:38PM -0300, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the spmi_bus_type variable to be a constant structure as well, > placing it into read-only memory which can not be modified at runtime. > > Cc: Greg Kroah-Hartman > Suggested-by: Greg Kroah-Hartman > Signed-off-by: Ricardo B. Marliere Reviewed-by: Greg Kroah-Hartman