[alsa-devel] [PATCH] ALSA: uapi: Fix sparse warning
Takashi Iwai
tiwai at suse.de
Wed Jan 29 21:01:06 CET 2020
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 at linux.intel.com>
> Suggested-by: Takashi Iwai <tiwai at suse.de>
> Signed-off-by: Ranjani Sridharan <ranjani.sridharan at linux.intel.com>
Thanks, applied.
Takashi
More information about the Alsa-devel
mailing list