ALSA: Another sparse warning fix round
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | ALSA: aloop: Fix PCM format assignmentsound/ | +3 | 0 replies | |
| 2/8 | ALSA: pcm: More helper macros for reducing snd_pcm_format_t castinclude/ include/ | +16 | 0 replies | |
| 3/8 | ALSA: usb-audio: Use pcm_for_each_format() macro for PCM format iterationssound/ | +1 | 0 replies | |
| 4/8 | ALSA: dummy: Use standard macros for fixing PCM format castsound/ | +3 | 0 replies | |
| 5/8 | ALSA: pcm: Use standard macros for fixing PCM format castsound/ sound/ | +16 | 0 replies | |
| 6/8 | ALSA: pcm: Use a macro for parameter masks to reduce the needed castsound/ | +18 | 0 replies | |
| 7/8 | ALSA: pcm_dmaengine: Use pcm_for_each_format() macro for PCM format iterationsound/ | +1 | 0 replies | |
| 8/8 | ALSA: pcm: Minor refactoringsound/ | +11 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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