Re: [PATCH] ALSA: uapi: Fix sparse warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 29 Jan 2020 19:44:48 +0100,
Ranjani Sridharan wrote:
> 
> Fix the following sparse warning generated due to
> 64-bit compat type having fields defined explicitly
> with __32:
> sound/soc/sof/sof-audio.c:46:31: warning: incorrect type in assignment (different base types)
> sound/soc/sof/sof-audio.c:46:31: expected restricted snd_pcm_state_t [usertype] state
> sound/soc/sof/sof-audio.c:46:31: got signed int [usertype] state
> 
> Reported-by: Pierre-Louis Bossart <pierre-louis.bossart@xxxxxxxxxxxxxxx>
> Suggested-by: Takashi Iwai <tiwai@xxxxxxx>
> Signed-off-by: Ranjani Sridharan <ranjani.sridharan@xxxxxxxxxxxxxxx>

Thanks, applied.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux