[alsa-devel] [PATCH 0/8] ALSA: Another sparse warning fix round
Takashi Iwai
tiwai at suse.de
Thu Feb 6 17:39:37 CET 2020
Hi,
this is another pile of patches to fix sparse warnings, at this time,
about the strong-types like snd_pcm_format_t. The patch 2 introduces
a new macro for the iteration loop and some other tasks so that the
driver doesn't need to use ugly __force cast.
Takashi
===
Takashi Iwai (8):
ALSA: aloop: Fix PCM format assignment
ALSA: pcm: More helper macros for reducing snd_pcm_format_t cast
ALSA: usb-audio: Use pcm_for_each_format() macro for PCM format
iterations
ALSA: dummy: Use standard macros for fixing PCM format cast
ALSA: pcm: Use standard macros for fixing PCM format cast
ALSA: pcm: Use a macro for parameter masks to reduce the needed cast
ALSA: pcm_dmaengine: Use pcm_for_each_format() macro for PCM format
iteration
ALSA: pcm: Minor refactoring
include/sound/pcm.h | 9 +++++++++
include/sound/pcm_params.h | 7 +++++++
sound/core/oss/pcm_oss.c | 19 ++++++++-----------
sound/core/pcm_dmaengine.c | 2 +-
sound/core/pcm_misc.c | 17 +++++++++++------
sound/core/pcm_native.c | 47 +++++++++++++++++++++++++---------------------
sound/drivers/aloop.c | 6 +++---
sound/drivers/dummy.c | 6 +++---
sound/usb/proc.c | 2 +-
9 files changed, 69 insertions(+), 46 deletions(-)
--
2.16.4
More information about the Alsa-devel
mailing list