Skip to content

ALSA: Another sparse warning fix round

Takashi Iwai alsa-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8ALSA: aloop: Fix PCM format assignmentsound/drivers/aloop.c+3 -30 replies
2/8ALSA: pcm: More helper macros for reducing snd_pcm_format_t castinclude/sound/pcm.h include/sound/pcm_params.h+16 -00 replies
3/8ALSA: usb-audio: Use pcm_for_each_format() macro for PCM format iterationssound/usb/proc.c+1 -10 replies
4/8ALSA: dummy: Use standard macros for fixing PCM format castsound/drivers/dummy.c+3 -30 replies
5/8ALSA: pcm: Use standard macros for fixing PCM format castsound/core/oss/pcm_oss.c sound/core/pcm_native.c+16 -180 replies
6/8ALSA: pcm: Use a macro for parameter masks to reduce the needed castsound/core/pcm_native.c+18 -140 replies
7/8ALSA: pcm_dmaengine: Use pcm_for_each_format() macro for PCM format iterationsound/core/pcm_dmaengine.c+1 -10 replies
8/8ALSA: pcm: Minor refactoringsound/core/pcm_misc.c+11 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [alsa-devel] [PATCH 0/8] ALSA: Another sparse warning fix round

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(-)
Signature · 6 lines
2.16.4

_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel