lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <s5hd1ad1vbr.wl-tiwai@suse.de>
Date:   Fri, 09 Jun 2017 09:20:08 +0200
From:   Takashi Iwai <tiwai@...e.de>
To:     "Arvind Yadav" <arvind.yadav.cs@...il.com>
Cc:     <perex@...ex.cz>, <alsa-devel@...a-project.org>,
        <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ALSA : pcsp: pcsp_lib: constify snd_pcsp_playback_ops

On Fri, 09 Jun 2017 08:09:56 +0200,
Arvind Yadav wrote:
> 
> File size before:
>    text	   data	    bss	    dec	    hex	filename
>    2027	    168	      1	   2196	    894	sound/drivers/pcsp/pcsp_lib.o
> 
> File size After:
>    text	   data	    bss	    dec	    hex	filename
>    2155	     40	      1	   2196	    894	sound/drivers/pcsp/pcsp_lib.o
> 
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@...il.com>

Applied, thanks.


Takashi


> ---
>  sound/drivers/pcsp/pcsp_lib.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sound/drivers/pcsp/pcsp_lib.c b/sound/drivers/pcsp/pcsp_lib.c
> index aca2d7d..44b3632 100644
> --- a/sound/drivers/pcsp/pcsp_lib.c
> +++ b/sound/drivers/pcsp/pcsp_lib.c
> @@ -323,7 +323,7 @@ static int snd_pcsp_playback_open(struct snd_pcm_substream *substream)
>  	return 0;
>  }
>  
> -static struct snd_pcm_ops snd_pcsp_playback_ops = {
> +static const struct snd_pcm_ops snd_pcsp_playback_ops = {
>  	.open = snd_pcsp_playback_open,
>  	.close = snd_pcsp_playback_close,
>  	.ioctl = snd_pcm_lib_ioctl,
> -- 
> 1.9.1
> 
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ