Thread (7 messages) 7 messages, 4 authors, 2017-05-30

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

From: Mark Brown <broonie@kernel.org>
Date: 2017-05-29 13:15:04
Also in: alsa-devel, lkml

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>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help