From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E4929C48260 for ; Tue, 13 Feb 2024 17:55:31 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 18F68F51; Tue, 13 Feb 2024 18:55:19 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 18F68F51 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1707846929; bh=OdZ/Y9zBfSGNYm4w6+scC4UUyi2R5zySwbdcyI1Rv/c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=LLOL5Iz61r2V7d3q/izQT78zLKfNnz5KBeEPzdi1uhhZPXJLXrajWR6DtrcfIenTI xeT5iqSFAVAwtMkTJp6hsIy7Eu63YPY33VSEbbCS/LeZywzsZ8iM7ML7BOz53tqFGs vOBRyH6q8bXo5x0hdwXVMWQbY4xsy/83yDCzDl0Y= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 6818CF805AD; Tue, 13 Feb 2024 18:54:56 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 81653F805AA; Tue, 13 Feb 2024 18:54:56 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 80090F80238; Tue, 13 Feb 2024 18:54:51 +0100 (CET) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 968AEF80104 for ; Tue, 13 Feb 2024 18:54:45 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 968AEF80104 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=A1gErUWs Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 5046661627; Tue, 13 Feb 2024 17:54:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86DB7C433C7; Tue, 13 Feb 2024 17:54:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707846883; bh=OdZ/Y9zBfSGNYm4w6+scC4UUyi2R5zySwbdcyI1Rv/c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=A1gErUWsOg8gH/lvFWBbzLLxlU1jyvekZ1tBQvuTJDyrYwpwuGaPu+tpxzOBKyE75 mBIs1z+RfZuuRITnmkhKkQEofH39UwFRCg1ArduHot2GjVf3JgotXfjJuvWv+dOxqS i8cjNfsnToqCSbLecN4NelHVBzSxcAXMFiIm0OgY= Date: Tue, 13 Feb 2024 18:29:10 +0100 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: Srinivas Kandagatla , Banajit Goswami , Bjorn Andersson , Konrad Dybcio , alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] soc: qcom: apr: make aprbus const Message-ID: <2024021301-request-residence-74d6@gregkh> References: <20240213-bus_cleanup-apr-v1-1-50c824eec06d@marliere.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240213-bus_cleanup-apr-v1-1-50c824eec06d@marliere.net> Message-ID-Hash: OQQDH7UNJONMIP4WTQB2YAXSTXSJ6CO7 X-Message-ID-Hash: OQQDH7UNJONMIP4WTQB2YAXSTXSJ6CO7 X-MailFrom: gregkh@linuxfoundation.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Tue, Feb 13, 2024 at 11:44:01AM -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 aprbus 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