diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-02-06 17:39:40 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-02-10 08:27:19 +0100 |
commit | 5b29f05396bde54788a18633155ffa3f4d745f0d (patch) | |
tree | 5e0fe5b3e5b33896e6de535411dea6a039b5aa99 /sound/drivers | |
parent | ALSA: pcm: More helper macros for reducing snd_pcm_format_t cast (diff) | |
download | linux-5b29f05396bde54788a18633155ffa3f4d745f0d.tar.xz linux-5b29f05396bde54788a18633155ffa3f4d745f0d.zip |
ALSA: usb-audio: Use pcm_for_each_format() macro for PCM format iterations
The new macro can fix the sparse warnings gracefully:
sound/usb/proc.c:73:31: warning: restricted snd_pcm_format_t degrades to integer
sound/usb/proc.c:73:38: warning: restricted snd_pcm_format_t degrades to integer
sound/usb/proc.c:73:61: warning: restricted snd_pcm_format_t degrades to integer
No functional changes, just sparse warning fixes.
Link: https://lore.kernel.org/r/20200206163945.6797-4-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers')
0 files changed, 0 insertions, 0 deletions