From: Takashi Iwai <tiwai@suse.de>
To: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Cc: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] ALSA: hda: Constify static attribute_group
Date: Sun, 31 Jan 2021 09:50:48 +0100 [thread overview]
Message-ID: <s5hk0rtjxqv.wl-tiwai@suse.de> (raw)
In-Reply-To: <20210131001241.2278-3-rikard.falkeborn@gmail.com>
On Sun, 31 Jan 2021 01:12:41 +0100,
Rikard Falkeborn wrote:
>
> The only usage of hdac_dev_attr_group is to put its address in an array
> of pointers to const attribute_group structs. Make it const to allow the
> compiler to put it in read-only memory.
>
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Thanks, applied.
Takashi
prev parent reply other threads:[~2021-01-31 8:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-31 0:12 [PATCH 0/2] ALSA: Constify static attribute_group structs Rikard Falkeborn
2021-01-31 0:12 ` [PATCH 1/2] ALSA: ac97: Constify static struct attribute_group Rikard Falkeborn
2021-01-31 8:50 ` Takashi Iwai
2021-01-31 0:12 ` [PATCH 2/2] ALSA: hda: Constify static attribute_group Rikard Falkeborn
2021-01-31 8:50 ` 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=s5hk0rtjxqv.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--cc=rikard.falkeborn@gmail.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
all inboxes | Powered by JetHome®