aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/core/pcm_dmaengine.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-02-06 17:39:42 +0100
committerTakashi Iwai <tiwai@suse.de>2020-02-10 08:27:41 +0100
commitba71d227f4a250d7975e8296fed3aac9cb6105c9 (patch)
tree2c88cdcd8b1614a173abb6c9ad87353ed4df10d5 /sound/core/pcm_dmaengine.c
parentALSA: dummy: Use standard macros for fixing PCM format cast (diff)
downloadwireguard-linux-ba71d227f4a250d7975e8296fed3aac9cb6105c9.tar.xz
wireguard-linux-ba71d227f4a250d7975e8296fed3aac9cb6105c9.zip
ALSA: pcm: Use standard macros for fixing PCM format cast
Simplify the code with the new macros for PCM format type iterations. This fixes the sparse warnings nicely: sound/core/pcm_native.c:2302:26: warning: restricted snd_pcm_format_t degrades to integer sound/core/pcm_native.c:2306:54: warning: incorrect type in argument 1 (different base types) sound/core/pcm_native.c:2306:54: expected restricted snd_pcm_format_t [usertype] format sound/core/pcm_native.c:2306:54: got unsigned int [assigned] k .... No functional changes, just sparse warning fixes. Link: https://lore.kernel.org/r/20200206163945.6797-6-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/pcm_dmaengine.c')
0 files changed, 0 insertions, 0 deletions