diff options
author | Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 2020-01-29 10:44:48 -0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-01-29 21:00:51 +0100 |
commit | 46b770f720bdd8a7de1c04a1cab5d4e9e21d6666 (patch) | |
tree | f6aa378dcb2988bfc107c39794938117f2dfbe97 /include/scsi | |
parent | 7faa26c1bbe312d9191524e4b7ab010f91fcd654 (diff) |
ALSA: uapi: Fix sparse warning
Fix the following sparse warning generated due to
64-bit compat type having fields defined explicitly
with __s32:
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
Fixes: 80fe7430c708 ("ALSA: add new 32-bit layout for snd_pcm_mmap_status/control")
Reported-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Suggested-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20200129184448.3005-1-ranjani.sridharan@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions