aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/core
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-02-06 17:39:41 +0100
committerTakashi Iwai <tiwai@suse.de>2020-02-10 08:27:31 +0100
commitc5f72ef15cb89284b0d7b0c167d9a713bb3781e8 (patch)
tree51aead414236679fdf8deb87fe189c6a4cbf60cb /sound/core
parentALSA: usb-audio: Use pcm_for_each_format() macro for PCM format iterations (diff)
downloadwireguard-linux-c5f72ef15cb89284b0d7b0c167d9a713bb3781e8.tar.xz
wireguard-linux-c5f72ef15cb89284b0d7b0c167d9a713bb3781e8.zip
ALSA: dummy: 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/drivers/dummy.c:906:25: warning: restricted snd_pcm_format_t degrades to integer sound/drivers/dummy.c:908:25: warning: incorrect type in argument 1 (different base types) sound/drivers/dummy.c:908:25: expected restricted snd_pcm_format_t [usertype] format sound/drivers/dummy.c:908:25: got int [assigned] i No functional changes, just sparse warning fixes. Link: https://lore.kernel.org/r/20200206163945.6797-5-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core')
0 files changed, 0 insertions, 0 deletions