Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1652519

Re: [PATCH] ALSA: declare snd_kcontrol_new structures as const

From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] ALSA: declare snd_kcontrol_new structures as const
Date 2017-05-29 15:20 +0200
Message-ID <tMsKt-oh-3@gated-at.bofh.it> (permalink)
References <tLLm9-5lF-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sat, May 27, 2017 at 08:16:15PM +0530, Bhumika Goyal wrote:
> Declare snd_kcontrol_new structures as const as they are only passed an
> argument to the function snd_ctl_new1. This argument is of type const,
> so snd_kcontrol_new structures having this property can be made const.
> Done using Coccinelle:

Acked-by: Mark Brown <broonie@kernel.org>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] ALSA: declare snd_kcontrol_new structures as const Bhumika Goyal <bhumirks@gmail.com> - 2017-05-27 17:00 +0200
  Re: [PATCH] ALSA: declare snd_kcontrol_new structures as const Mark Brown <broonie@kernel.org> - 2017-05-29 15:20 +0200
  Re: [PATCH] ALSA: declare snd_kcontrol_new structures as const Takashi Iwai <tiwai@suse.de> - 2017-05-30 11:00 +0200
    Re: [PATCH] ALSA: declare snd_kcontrol_new structures as const Bhumika Goyal <bhumirks@gmail.com> - 2017-05-30 11:00 +0200
    Re: [PATCH] ALSA: declare snd_kcontrol_new structures as const Julia Lawall <julia.lawall@lip6.fr> - 2017-05-30 11:00 +0200
      Re: [PATCH] ALSA: declare snd_kcontrol_new structures as const Bhumika Goyal <bhumirks@gmail.com> - 2017-05-30 11:10 +0200
      Re: [PATCH] ALSA: declare snd_kcontrol_new structures as const Takashi Iwai <tiwai@suse.de> - 2017-05-30 11:10 +0200

csiph-web