[PATCH 00/18] ALSA: cleanups for sparse/cppcheck warnings

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Wed Sep 2 23:21:15 CEST 2020


Various cleanups for ALSA core, compressed, hda, usb, ac97 and
Digigram cards.

Pierre-Louis Bossart (18):
  ALSA: core: pcm: simplify locking for timers
  ALSA: core: memalloc: fix fallthrough position
  ALSA: core: pcm_memory: dereference pointer after NULL checks
  ALSA: core: timer: remove redundant assignment
  ALSA: core: timer: clarify operator precedence
  ALSA: compress_offload: dereference after checking for NULL pointer
  ALSA: compress_offload: remove redundant initialization
  ALSA: core: init: use DECLARE_COMPLETION_ONSTACK() macro
  ALSA: aoa: i2sbus: use DECLARE_COMPLETION_ONSTACK() macro
  ALSA: hda: auto_parser: remove shadowed variable declaration
  ALSA: hda: (cosmetic) align function parameters
  ALSA: usb: scarless_gen2: fix endianness issue
  ALSA: ac97: (cosmetic) align argument names
  ALSA: atmel: ac97: clarify operator precedence
  ALSA: rawmidi: (cosmetic) align function parameters
  ALSA: vx: vx_core: clarify operator precedence
  ALSA: vx: vx_pcm: remove redundant assignment
  ALSA: vx: vx_pcm: remove redundant assignment

 sound/ac97/ac97_core.h          |  2 +-
 sound/aoa/soundbus/i2sbus/pcm.c |  3 +--
 sound/atmel/ac97c.c             | 22 +++++++++++-----------
 sound/core/compress_offload.c   |  5 +++--
 sound/core/init.c               |  3 +--
 sound/core/memalloc.c           |  2 +-
 sound/core/pcm.c                |  8 +++++---
 sound/core/pcm_memory.c         |  3 ++-
 sound/core/rawmidi.c            |  2 +-
 sound/core/timer.c              |  6 +++---
 sound/drivers/vx/vx_core.c      |  4 ++--
 sound/drivers/vx/vx_pcm.c       |  2 --
 sound/pci/hda/hda_auto_parser.c |  2 +-
 sound/pci/hda/hda_jack.h        |  2 +-
 sound/pci/hda/hda_local.h       |  8 ++++----
 sound/usb/mixer_scarlett_gen2.c |  2 +-
 16 files changed, 38 insertions(+), 38 deletions(-)

-- 
2.25.1



More information about the Alsa-devel mailing list