Skip to content

ALSA: Fix remaining NULL device with memory allocations

Takashi Iwai alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ALSA: x86: Avoid passing NULL to memory allocatorssound/x86/intel_hdmi_audio.c+2 -10 replies
2/5ALSA: arm: Avoid passing NULL to memory allocatorssound/arm/aaci.c+2 -10 replies
3/5ASoC: amd: Avoid passing NULL to memory allocatorssound/soc/amd/raven/acp3x-pcm-dma.c+2 -11 reply
4/5ASoC: sh: Avoid passing NULL to memory allocatorssound/soc/sh/siu_pcm.c+1 -11 reply
5/5ALSA: core: Don't allow NULL device for memory allocationsound/core/memalloc.c+2 -00 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChristoph HellwigMark Brown
SeriesA-b
1/5
2/5
3/5A-b
4/5A-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] ALSA: Fix remaining NULL device with memory allocations

Hi,

this patchset covers the still remaining drivers calling the memory allocation with NULL device pointer. Simply card->dev is passed there.

Mark, two of them are trivial fixes for ASoC, and I'd like to merge them through my tree, since the last patch adds an explicit WARN_ON(). Give me Ack's if they are OK.

thanks,

Takashi

===

Takashi Iwai (5):
ALSA: x86: Avoid passing NULL to memory allocators
ALSA: arm: Avoid passing NULL to memory allocators
ASoC: amd: Avoid passing NULL to memory allocators
ASoC: sh: Avoid passing NULL to memory allocators
ALSA: core: Don't allow NULL device for memory allocation

 sound/arm/aaci.c                    | 3 ++-
 sound/core/memalloc.c               | 2 ++
 sound/soc/amd/raven/acp3x-pcm-dma.c | 3 ++-
 sound/soc/sh/siu_pcm.c              | 2 +-
 sound/x86/intel_hdmi_audio.c        | 3 ++-
 5 files changed, 9 insertions(+), 4 deletions(-)
Signature · 1 line
2.16.4