Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp95977rdh; Tue, 13 Feb 2024 10:23:18 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU48/78Y91z/hkANbNNkZNxshKBc4WEbkKezSlT2Ef7gWCXIlBB+GYMwYx0T1fkd/b+phPa3fQHmHHU25jxUwFRokDwv9EnDBlnuKXpSg== X-Google-Smtp-Source: AGHT+IEsXmsJkoJrK+xkuCs99rQzjoLEOhtyyCyRVi0FatHadbk6DPKUWqd3Nwt4cV1Ek8BPp1jh X-Received: by 2002:a17:902:a589:b0:1db:2b8b:49f3 with SMTP id az9-20020a170902a58900b001db2b8b49f3mr357712plb.38.1707848598626; Tue, 13 Feb 2024 10:23:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707848598; cv=pass; d=google.com; s=arc-20160816; b=wXH5RGyVCSD4Up1apjCYRy96TbGkwYFvVYhVYrbqiSCAVRD7QSSEW11PkGOqdGzXw2 h1vrbn/3kMY0Ot1Vt2fVxdb+BNc0doTWNSzj3sRWQEGx4r0e2TeqjpzFcVBhOM11WToO U1XYU89CTJqTQRoF+ice5YMNW61N+LPtBU0kqC7ytXBT5o67IO5rSAm2UGM3IfWeSa56 Bjpktbx9Zwf65ngbG9w9jlYQClbvdBrU6CdWy23EFFQz58Va6FZoYTuvKl1cmM5CLDPb CWElkH8E8lse90VLVztCq7sNyCKHCATnIsIDYVJp9xtpB1rt9uIphPZPIlE05ZZgjkpc 2wbA== 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=zMAkSy2NykFG5lhhMVWbyZr/gApo5w3cKfTOXEIJWvs=; fh=xBS2Fgq1cUyB+am6UEoTV+27DE5P1c+Z0M+bv9jOT4w=; b=BvpwcznDWxoEdYdLo3W2lVyChXNkhClGppsUxUMOXfLtyvm8hv6iPlmtFjmbgqmuXk icWSDn6OYWcws3d9UP2giaT8V9fhPVby8Yw4c7+qABLz3Mvi5iGYeNP8Z/ON+I1paVHC UMPSgldopGyfJcL28Keh0E1HqwkArM54KPmItWffWcccLbnWi+EKT47SjPO2tHNNoerj FHYJPsStU7bA8sbDUR43/beH32bSkrAMZT8b0Fc7o0llsVsyTccNok4lfE8iuSNKzhDl 0yO4Qzqa7d4u44M5e8k68iAYKRpL/7XCinyKX3ZdyqSvXpHm7Eaa/uwGSdbOF2I2gCAu Qjtw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=xgifEv1b; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-64027-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64027-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org X-Forwarded-Encrypted: i=2; AJvYcCVGxkiEsnxbWCkqbQyEXSdezflvZsnO93juR7loMlt86C22TyjnEXc5gNqMy/yet7PFiRkZgedUV54TZHikdaaLSRVmgOapLuPvJ0R6qQ== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id ja19-20020a170902efd300b001d99ab3b52esi2290765plb.108.2024.02.13.10.23.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 10:23:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64027-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=xgifEv1b; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-64027-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64027-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 0F392B292CE for ; Tue, 13 Feb 2024 17:56:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BA66D60ED4; Tue, 13 Feb 2024 17:54:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="xgifEv1b" 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 D71F860EC1 for ; Tue, 13 Feb 2024 17:54:49 +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=1707846889; cv=none; b=asiMQ/6y1Aj0eWGxaWnV7dncZ3YScuLGjeR/kj6/251QmFZ8mAqD88cuPfn865gsvOR/fgKXahyR6sWp6lkknKGsV8i899AMjdnzh6WjxBB44LI0pnUajurNYkmlGZ+VitxlQho3XHO/NQznPx4UG1ISqek8L16OxmyQeex9sUI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707846889; c=relaxed/simple; bh=Fpat39sCKC0M/T0N7Xrv5bT2WB5EUj8Z2VGFq0l5oCQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=XkjAdlnMxFVETb7Srj1pFQEt8RncUvTouy9piKFEVwIUPiL62cw/bO0pFyykHrSSUplbhLUbbewGHlO1wc1m1ArmeWpqSdIXGZsNlotHLp7UM9e//i8jwFGa5CN2iwIuUF+8X9KsY1f625BsDke1x12x/eBfrcg6Sf/3ZTDqy+4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xgifEv1b; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC359C433F1; Tue, 13 Feb 2024 17:54:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707846889; bh=Fpat39sCKC0M/T0N7Xrv5bT2WB5EUj8Z2VGFq0l5oCQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=xgifEv1bwXhoJlsctQxA8caAXj3U4+DtQHuKl0JYKmd/aTZz2EvuJ3k8HCoW9G7Bz /h6aM8+2qOzCAHxef1tzTqxSmegsBM8wEhnZxPZkpV6w0i0blKHabVQVCUDQvOdO2D jPLgAwanDvHOt29LWBfF00E0Lmjf0dVRO9odef4E= Date: Tue, 13 Feb 2024 18:29:30 +0100 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: Srinivas Kandagatla , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] slimbus: core: make slimbus_bus const Message-ID: <2024021326-swimwear-onshore-e3f4@gregkh> References: <20240213-bus_cleanup-slimbus-v1-1-34f06d82de6e@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: <20240213-bus_cleanup-slimbus-v1-1-34f06d82de6e@marliere.net> On Tue, Feb 13, 2024 at 11:40:35AM -0300, Ricardo B. Marliere wrote: > Since commit d492cc2573a0 ("driver core: device.h: make struct > bus_type a const *"), the driver core can properly handle constant > struct bus_type, move the slimbus_bus 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