Skip to content

ALSA: Use automatic cleanup of kfree()

Takashi Iwai linux-sound 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9ALSA: pcm: Use automatic cleanup of kfree()sound/core/pcm.c sound/core/pcm_compat.c sound/core/pcm_native.c+49 -830 replies
2/9ALSA: control: Use automatic cleanup of kfree()sound/core/control.c sound/core/control_compat.c+34 -580 replies
3/9ALSA: compress_offload: Use automatic cleanup of kfree()sound/core/compress_offload.c+13 -230 replies
4/9ALSA: timer: Use automatic cleanup of kfree()sound/core/timer.c+5 -80 replies
5/9ALSA: vmaster: Use automatic cleanup of kfree()sound/core/vmaster.c+6 -130 replies
6/9ALSA: seq: oss: Use automatic cleanup of kfree()sound/core/seq/oss/seq_oss_init.c sound/core/seq/oss/seq_oss_midi.c+8 -180 replies
7/9ALSA: seq: virmidi: Use automatic cleanup of kfree()sound/core/seq/seq_virmidi.c+7 -150 replies
8/9ALSA: seq: ump: Use automatic cleanup of kfree()sound/core/seq/seq_ump_client.c+12 -210 replies
9/9ALSA: seq: core: Use automatic cleanup of kfree()sound/core/seq/seq_compat.c sound/core/seq/seq_midi.c+8 -180 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/9] ALSA: Use automatic cleanup of kfree()

Hi,

this is a series of patches for ALSA core code to use the new cleanup mechanism for temporary buffers.
Merely a cleanup using cleanup, no functional changes.
I confirmed that there is no significant resultant size grow by this, too.

Takashi

===

Takashi Iwai (9):
ALSA: pcm: Use automatic cleanup of kfree()
ALSA: control: Use automatic cleanup of kfree()
ALSA: compress_offload: Use automatic cleanup of kfree()
ALSA: timer: Use automatic cleanup of kfree()
ALSA: vmaster: Use automatic cleanup of kfree()
ALSA: seq: oss: Use automatic cleanup of kfree()
ALSA: seq: virmidi: Use automatic cleanup of kfree()
ALSA: seq: ump: Use automatic cleanup of kfree()
ALSA: seq: core: Use automatic cleanup of kfree()

 sound/core/compress_offload.c     | 36 ++++-------
 sound/core/control.c              | 23 +++----
 sound/core/control_compat.c       | 69 ++++++++-------------
 sound/core/pcm.c                  |  4 +-
 sound/core/pcm_compat.c           | 29 ++++-----
 sound/core/pcm_native.c           | 99 ++++++++++++-------------------
 sound/core/seq/oss/seq_oss_init.c | 15 ++---
 sound/core/seq/oss/seq_oss_midi.c | 11 +---
 sound/core/seq/seq_compat.c       | 12 ++--
 sound/core/seq/seq_midi.c         | 14 +----
 sound/core/seq/seq_ump_client.c   | 33 ++++-------
 sound/core/seq/seq_virmidi.c      | 22 +++----
 sound/core/timer.c                | 13 ++--
 sound/core/vmaster.c              | 19 ++----
 14 files changed, 142 insertions(+), 257 deletions(-)
Signature · 1 line
2.35.3