Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp96281rdh; Tue, 13 Feb 2024 10:23:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXMQ/PobDdnF168ttfiLYtxfzYcHbfR3gnFMhNNmGoEDRKJmhq5z07Axpz57jI/ohdD9QgGoYzevWkfUEDZJaoLzaLpeEfm7CPlqJQ7Kw== X-Google-Smtp-Source: AGHT+IGl/MPXIDbXoFW9lVryzv222YuToTUUVnV3Z/r9+zB/v01FRMCVtKCenGKbx8eiPiuRjfrr X-Received: by 2002:a17:902:cec3:b0:1d9:bfde:d635 with SMTP id d3-20020a170902cec300b001d9bfded635mr445254plg.18.1707848638683; Tue, 13 Feb 2024 10:23:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707848638; cv=pass; d=google.com; s=arc-20160816; b=KqoCncbcPMXXP+qmLAhwm1e6G4DXRlTnsw2pEiqYZdjuBdMRNIGFz/WG7TqUTVZhrr qOR5OQDSiKtN6pKnmQExuodToi62K+OILz/SDvVqZZRRdcFxMU2HjbiESWdJ66YSOZak 5Z5HAT9ZhE4PzcoLm6ffrRWe8uFveZ4B7aB82oOrVBggTaPGiOBSIrx+Uae7v8OJauAa 9NySQq8wYot0H92BW/y4g3r0qCBQQEIRUXzJpogF4b1R55/Xy7tbjDJkD6i7s93TUtPp BtmUAmil1tJkWughFGY10KRd0+J53BbO9MVAKPpsiLjhgI9Lrob6iHHijNm/AmGWYPXd JFFg== 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=9P6/J25t1GGY4rfECEbPm7o2ugplS8HVtb2limRUqqA=; fh=8Plc4Lt54bp244xpKepBS+tFhbyDozyMqsVfrRbtaA8=; b=soqQb9Q4CD7Y1iJLiTDSxq9oodW3FfCKjYniMbI5aIvBbnCMh39OR6k+woKqYfWzq3 fhiozbfohAH23cVZCfgVy8PePVRfW+VyHnMsyAgtW9VvXAM1pYWXHh+2cCy6daC23foi VdkB663W5ereeuwvAQjup8n4IvkQnsEoWjUzIdnVWeqOhLcEQGh4JqB07CISn9M3pclS zQCf62wQwvzphMczM2mj/RITDQkglU8HC4AxUktKyJDGu5beB+d6auk4jnLipHKMtAfO e6aTJ2icFrj0pyYQ16//NyAH0DUYqKm6We9rIvrs+l2XXSqEoncwe/XD5b8sstZmd71G ZaUw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=O4XYoG2G; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-64030-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64030-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; AJvYcCVycN54RoNHMLRh65LZ3qe8u7YbeSZ4jsWGDyXt49Z5OzeVfN9EnlZMHQo+ft59V9/l2eUFDbTcE6ve+zVHArFU7gTDrHOAb1s3kOeFFQ== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id b15-20020a170902650f00b001db45d5fb12si746765plk.378.2024.02.13.10.23.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 10:23:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64030-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=O4XYoG2G; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-64030-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64030-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 499BBB2A42E for ; Tue, 13 Feb 2024 17:57:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 15D1A612DA; Tue, 13 Feb 2024 17:55:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="O4XYoG2G" 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 43502612C4 for ; Tue, 13 Feb 2024 17:54:59 +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=1707846900; cv=none; b=fULXnKxGY2ZFbHNl+Tbnny6R1Cvq7oyEZBTS0sjIHbx5iMaRAYx+q2gykmicB0/Z1YiFw/8dJVumA67hdPd+0oM6qvrbfkAzBSou/4XtFmzyQMHs89DqEKcdzS+dtqkzZPpKZcc18/lGYZ57wfGGc5oFrVEBOWBaxMd6ue+A3G0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707846900; c=relaxed/simple; bh=fkt9NvcefWq6HaVXS1+B/buBOjL8fqSRphpLKPoAspM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KwnytQJKgP3XwwYw8p21XhmN5jEE84OAZk7yzrDXIzVLsPeVtybjkGGZcYmH+YwWZL0jiVTN/1rj16LzwqomwKtFOnKpw7SEsrEw4jSwccwwtPqRlhXzjpmJLlNV2bo5tU9t+A9+pLMUrmW8rxJp3oeKosOdGeT4oMiNYjgtY6c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=O4XYoG2G; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 57F8FC433A6; Tue, 13 Feb 2024 17:54:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707846899; bh=fkt9NvcefWq6HaVXS1+B/buBOjL8fqSRphpLKPoAspM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=O4XYoG2G3bRZ9UGOeRWlDOxTABe8Ay6u2udCejTrfM42tFVdg1brUE+5Ga2DFaE/6 LfmKImpTKVW29yOZkb8+NNQRIjOsvmxD0HWkF57RgtP5klXnX93q94jEsJnlBcN8s9 PcFZIPUoFCh1A3ccE6BOYdOs6tPkEa0DrccJjXVA= Date: Tue, 13 Feb 2024 18:29:55 +0100 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: Vinod Koul , Bard Liao , Pierre-Louis Bossart , Sanyog Kale , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] soundwire: bus_type: make sdw_bus_type const Message-ID: <2024021351-observing-concerned-38cf@gregkh> References: <20240213-bus_cleanup-soundwire-v1-1-3878b00f6f57@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-soundwire-v1-1-3878b00f6f57@marliere.net> On Tue, Feb 13, 2024 at 11:36:56AM -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 sdw_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