[alsa-devel] [PATCH 0/2] ALSA: add const to snd_ratnum structures

Takashi Iwai tiwai at suse.de
Tue Jun 20 07:57:26 CEST 2017


On Mon, 19 Jun 2017 20:41:52 +0200,
Bhumika Goyal wrote:
> 
> Declare snd_ratnum structures as const as their reference is only
> stored in the rate field of a snd_pcm_hw_constraint_ratnums structure.
> This field is of type const, so snd_ratnum structures can be made const.
> 
> Bhumika Goyal (2):
>   ALSA: sound/isa: constify snd_ratnum structures
>   ALSA: sound/pci: add const to snd_ratnum structures

They have been already fixed by other patches.


thanks,

Takashi


More information about the Alsa-devel mailing list