Re: [PATCH] ALSA: pcm: constify action_ops structures

2015-11-30 Thread Takashi Iwai
On Sun, 29 Nov 2015 16:36:40 +0100, Julia Lawall wrote: > > The action_ops structures are never modified, so declare them as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Applied, thanks. Takashi > > --- > sound/core/pcm_native.c | 26

Re: [PATCH] ALSA: pcm: constify action_ops structures

2015-11-30 Thread Takashi Iwai
On Sun, 29 Nov 2015 16:36:40 +0100, Julia Lawall wrote: > > The action_ops structures are never modified, so declare them as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Applied, thanks. Takashi > > --- > sound/core/pcm_native.c |

Re: [PATCH] ALSA: pcm: constify action_ops structures

2015-11-29 Thread Takashi Sakamoto
Hi, On Nov 30 2015 00:36, Julia Lawall wrote: The action_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall I think this approach is better to describe a part of design about actions for PCM substreams. It may help

[PATCH] ALSA: pcm: constify action_ops structures

2015-11-29 Thread Julia Lawall
The action_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- sound/core/pcm_native.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/sound/core/pcm_native.c

[PATCH] ALSA: pcm: constify action_ops structures

2015-11-29 Thread Julia Lawall
The action_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- sound/core/pcm_native.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git

Re: [PATCH] ALSA: pcm: constify action_ops structures

2015-11-29 Thread Takashi Sakamoto
Hi, On Nov 30 2015 00:36, Julia Lawall wrote: The action_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall I think this approach is better to describe a part of design about actions for PCM