From: Julia Lawall <julia.lawall@lip6.fr>
To: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Cc: kernel-janitors@vger.kernel.org, alsa-devel@alsa-project.org,
Clemens Ladisch <clemens@ladisch.de>,
linux-kernel@vger.kernel.org, Takashi Iwai <tiwai@suse.com>
Subject: Re: [PATCH v2] ALSA: bebob: constify snd_bebob_rate_spec structures
Date: Sun, 11 Oct 2015 08:08:37 +0200 (CEST) [thread overview]
Message-ID: <alpine.DEB.2.02.1510110807340.2057@localhost6.localdomain6> (raw)
In-Reply-To: <5619DA57.6010705@sakamocchi.jp>
On Sun, 11 Oct 2015, Takashi Sakamoto wrote:
> Hi,
>
> On Oct 11 2015 06:24, Julia Lawall wrote:
> > The structures of type snd_bebob_clock_spec, snd_bebob_rate_spec,
> > snd_bebob_meter_spec, and snd_bebob_spec are never modified after they are
> > initialized. Make them all const.
> >
> > Done with the help of Coccinelle.
> >
> > Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
> >
> > ---
> >
> > v2: extend to snd_bebob_clock_spec, snd_bebob_meter_spec, and
> > snd_bebob_spec structures.
> >
> > sound/firewire/bebob/bebob.c | 2 +-
> > sound/firewire/bebob/bebob.h | 32 ++++++++++++++++----------------
> > sound/firewire/bebob/bebob_focusrite.c | 26 +++++++++++++-------------
> > sound/firewire/bebob/bebob_maudio.c | 32 ++++++++++++++++----------------
> > sound/firewire/bebob/bebob_pcm.c | 2 +-
> > sound/firewire/bebob/bebob_proc.c | 6 +++---
> > sound/firewire/bebob/bebob_stream.c | 6 +++---
> > sound/firewire/bebob/bebob_terratec.c | 10 +++++-----
> > sound/firewire/bebob/bebob_yamaha.c | 6 +++---
> > 9 files changed, 61 insertions(+), 61 deletions(-)
>
> Tested-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
> Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
>
> Thank you to include my extra request and spend more time for this patch ;)
>
> But I prefer to change the title of this patch to 'ALSA: bebob: constify
> some structures because they are never modified' or something like it
> because this patch is not only for 'struct snd_bebob_rate_spec'.
Sorry not to have paid attention to that. I will send it again.
julia
next prev parent reply other threads:[~2015-10-11 6:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-10 13:39 [PATCH] " Julia Lawall
2015-10-10 15:36 ` Takashi Sakamoto
2015-10-10 15:57 ` Julia Lawall
2015-10-10 21:24 ` [PATCH v2] " Julia Lawall
2015-10-11 3:41 ` Takashi Sakamoto
2015-10-11 6:08 ` Julia Lawall [this message]
2015-10-11 6:10 ` [PATCH v3] ALSA: bebob: constify various snd_bebob structures Julia Lawall
2015-10-11 12:29 ` Takashi Sakamoto
2015-10-11 16:13 ` Takashi Iwai
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=alpine.DEB.2.02.1510110807340.2057@localhost6.localdomain6 \
--to=julia.lawall@lip6.fr \
--cc=alsa-devel@alsa-project.org \
--cc=clemens@ladisch.de \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=o-takashi@sakamocchi.jp \
--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®