Skip to content

ALSA: rawmidi cleanups

Takashi Iwai alsa-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ALSA: rawmidi: Tidy up coding stylessound/core/rawmidi.c+59 -420 replies
2/4ALSA: rawmidi: Simplify error pathssound/core/rawmidi.c+39 -370 replies
3/4ALSA: rawmidi: Minor code refactoringsound/core/rawmidi.c+33 -440 replies
4/4ALSA: rawmidi: Use kvmalloc() for bufferssound/core/rawmidi.c+4 -40 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/4] ALSA: rawmidi cleanups

Hi,

this is a patchset mainly as a cleanup of rawmidi code, and most of them are just coding style or readability fixes without functional behavior changes. The last patch replaces kmalloc() with kvmalloc() for buffer allocations, which may fail frequently as is.

Takashi

===

Takashi Iwai (4):
ALSA: rawmidi: Tidy up coding styles
ALSA: rawmidi: Simplify error paths
ALSA: rawmidi: Minor code refactoring
ALSA: rawmidi: Use kvmalloc() for buffers

 sound/core/rawmidi.c | 248 ++++++++++++++++++++++---------------------
 1 file changed, 128 insertions(+), 120 deletions(-)
Signature · 1 line
2.18.0