From: Takashi Iwai <tiwai@suse.de>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: tiwai@suse.com, perex@perex.cz, linux-sound@vger.kernel.org,
linux-kernel@vger.kernel.org, Dawei Li <set_pte_at@outlook.com>,
Yu Liao <liaoyu15@huawei.com>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Hans de Goede <hdegoede@redhat.com>
Subject: Re: [PATCH] ALSA: mark all struct bus_type as const
Date: Sat, 30 Dec 2023 10:13:14 +0100 [thread overview]
Message-ID: <87y1dcvys5.wl-tiwai@suse.de> (raw)
In-Reply-To: <2023121945-immersion-budget-d0aa@gregkh>
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 parent reply other threads:[~2023-12-30 9:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-19 13:34 [PATCH] ALSA: mark all struct bus_type as const Greg Kroah-Hartman
2023-12-30 9:13 ` Takashi Iwai [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y1dcvys5.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=gregkh@linuxfoundation.org \
--cc=hdegoede@redhat.com \
--cc=liaoyu15@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=rafael@kernel.org \
--cc=set_pte_at@outlook.com \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox