Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2606205rdb; Mon, 5 Feb 2024 11:34:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IH6Jxo72iwleN6+HuGMBmelgcvFQNYYpJwOy14RVRy78fPNeQSkC/gWeoSePRCVzpDKIp2B X-Received: by 2002:a5d:66cd:0:b0:33b:436f:29db with SMTP id k13-20020a5d66cd000000b0033b436f29dbmr278094wrw.43.1707161656039; Mon, 05 Feb 2024 11:34:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707161656; cv=pass; d=google.com; s=arc-20160816; b=PrzUH50ChnryD37e7y2mHw4ZbrVmYJHDrJZigTJNT66Y7t7rKxUzGlATBgM1X9MYBd bHmGIDxh94+j/Xi8uRPhfx62QM8hTmjK7D6LhLxVNC/aHY6R0G5xMupfp7Y5XMqboLy5 1GhmR8rwDKMs0XzGt25WHstXWFFvGbh34PTpkWn0kS+kAnlsyKjoQNBQGGyd/VmiuD97 qfmhocin6PR40gjiArBf+2P/iAD/L2ouu/Ll31yYSx7+1ZZUkJIr9eL9pkKmwlAPlvS3 idjxU/ZogrfnICAgrwtDiuvhPr3xoNClGdBIrlL9q9EI9599iNmcI6cZjyib6Rbs628E GxGw== 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=LV/CQwadp0OPjywSWNGh/1itKwP4wgJdNDq93Kwfkoc=; fh=AWOvPGl/kK7WPbAdL3SygWD0Qe5rnwg7Yi4qJ4DUvHc=; b=Lf3KdscpCri6bdhZFqV1ha4es0Bf/NR8JsXSu/iojbvLQLv239GVWYNZnkKxpby6Kt 1kxtQ5YauGKQLbz7YHTVT0tTy9i5xIlYqoWK1vZdhuQSXXZTMBxy3RrajxgsWThUhOx/ e5Y5fRVIcMLQIlVMsmEerDwXKCXjpasEiUIlTggVSpPNMMFpFrE+IHhe0m1U9wPFuQ9I 5x22zXrsdbXWS5anxYW2lbxQAhf99tvCPOrQNQUpaC+HzFNIuzC46mgte8PNBHp71JFa T+ZFR0jMKE31DJIUOxaj92MXKT4TaZAhtAv68kWXqxrq/3mWF5CccVHWFSZAl3Cj4rb5 5SAg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LJcOaWD+; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-53399-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53399-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; AJvYcCU/S/iJ9nPsyqUa1DE8swW2pWLRsOYDcbcF1IMJtCOomM8y87v9cGnm1AqK7g7XFzJv4ID1G9UaW1T6rwtYGclMIVPdY0NMdyPrxMy+Sg== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id q14-20020a50c34e000000b0055fed11ab4fsi196734edb.304.2024.02.05.11.34.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 11:34:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-53399-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=LJcOaWD+; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-53399-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53399-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 C2BE41F25389 for ; Mon, 5 Feb 2024 19:34:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0FEAC12D15F; Mon, 5 Feb 2024 19:03:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="LJcOaWD+" 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 05BC41292E8 for ; Mon, 5 Feb 2024 19:03:31 +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=1707159811; cv=none; b=pJWWnxQvbfxsmTShmUnRbCODW+xLqNKS3LBHK9Gj/jAn5pILDncRJEEb6Y3K/1vdgm/XJXePMveyDK12qBXrdbXZS2seaUE6DQp9POvqXcdh3QscEIlcpzS5J3LS4YMB9UduB34+Ei0ZlOyCOlNN3XYUFib0QLtCnDgG3iBLgc4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707159811; c=relaxed/simple; bh=UaPeS5mSvUaoCPnWbEINPK01Kr+ZY3YUWtrlVXmWEkc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=MKWmKO60NS31N7eMXK4qHFvC3zbYKH5QzBG7svcR0EKN9kRmHGtCHDp6TlmwutlNP7z8KETMgNumWJ6Rtx1zzdkquNG8/elsS10z60KBYWBJokyAHfIUHrjjdMPvEt+0V9H/0I38DldaACgFkFEGzZXdpH5RAaCLfQm7jzspq9g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LJcOaWD+; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7DEE9C433C7; Mon, 5 Feb 2024 19:03:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707159810; bh=UaPeS5mSvUaoCPnWbEINPK01Kr+ZY3YUWtrlVXmWEkc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LJcOaWD+UdhvFlbQQVGAst5apjCW4R+BiH5UO602ISingapN71c1ANmFH+VAFdl8a DYnl1YYIimubVqyzSg4r8Wnn2P5urD7sdEC1G8kgA8WrNjK3xmdIrDq5MVHRor34yM aKkA7NwM2cRW+Uj2atX3oR/SvBSeKE9Gp5zgThTY= Date: Mon, 5 Feb 2024 04:48:29 -0800 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: Parthiban Veerasooran , Christian Gromm , linux-kernel@vger.kernel.org Subject: Re: [PATCH] most: core: make mostbus const Message-ID: <2024020525-playhouse-choking-7ed6@gregkh> References: <20240204-bus_cleanup-most-v1-1-f5cd9a06e13f@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-most-v1-1-f5cd9a06e13f@marliere.net> On Sun, Feb 04, 2024 at 05:13:16PM -0300, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the mostbus 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