[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87y1dcvys5.wl-tiwai@suse.de>
Date: Sat, 30 Dec 2023 10:13:14 +0100
From: Takashi Iwai <tiwai@...e.de>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: tiwai@...e.com,
perex@...ex.cz,
linux-sound@...r.kernel.org,
linux-kernel@...r.kernel.org,
Dawei Li <set_pte_at@...look.com>,
Yu Liao <liaoyu15@...wei.com>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Hans de Goede <hdegoede@...hat.com>
Subject: Re: [PATCH] ALSA: mark all struct bus_type as const
On Tue, 19 Dec 2023 14:34:46 +0100,
Greg Kroah-Hartman wrote:
>
> Now that the driver core can properly handle constant struct bus_type,
> move all of the sound subsystem struct bus_type structures as const,
> placing them into read-only memory which can not be modified at runtime.
>
> Note, this fixes a duplicate definition of ac97_bus_type, which somehow
> was declared extern in a .h file, and then static as a prototype in a .c
> file, and then properly later on in the same .c file. Amazing that no
> compiler warning ever showed up for this.
>
> Cc: Jaroslav Kysela <perex@...ex.cz>
> Cc: Takashi Iwai <tiwai@...e.com>
> Cc: Dawei Li <set_pte_at@...look.com>
> Cc: Yu Liao <liaoyu15@...wei.com>
> Cc: "Rafael J. Wysocki" <rafael@...nel.org>
> Cc: Hans de Goede <hdegoede@...hat.com>
> Cc: linux-sound@...r.kernel.org
> Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Applied to for-next branch now. Thanks.
Takashi
Powered by blists - more mailing lists