[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-sound
Subject:    Re: [PATCH] ALSA: mark all struct bus_type as const
From:       Takashi Iwai <tiwai () suse ! de>
Date:       2023-12-30 9:13:14
Message-ID: 87y1dcvys5.wl-tiwai () suse ! de
[Download RAW message or body]

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@perex.cz>
> Cc: Takashi Iwai <tiwai@suse.com>
> Cc: Dawei Li <set_pte_at@outlook.com>
> Cc: Yu Liao <liaoyu15@huawei.com>
> Cc: "Rafael J. Wysocki" <rafael@kernel.org>
> Cc: Hans de Goede <hdegoede@redhat.com>
> Cc: linux-sound@vger.kernel.org
> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Applied to for-next branch now.  Thanks.


Takashi

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic