linux-sound.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/11] ALSA: seq: Use auto-cleanup macros
@ 2025-08-27  8:05 Takashi Iwai
  2025-08-27  8:05 ` [PATCH v2 01/11] ALSA: seq: Simplify internal command operation from OSS layer Takashi Iwai
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Takashi Iwai @ 2025-08-27  8:05 UTC (permalink / raw)
  To: linux-sound

This is a revised patch set for ALSA sequencer code to clean up with
the auto-cleanup macros like guard() and CLASS().
Only code refactoring, and no behavior changes intended.

v1->v2:
* Drop buggy conversion in oss/seq_oss_midi.c
* Fix build errors with clang W=1


Takashi

===

Takashi Iwai (11):
  ALSA: seq: Simplify internal command operation from OSS layer
  ALSA: seq: Clean up spin lock with guard()
  ALSA: seq: Use guard() for mutex and rwsem locks
  ALSA: seq: Use auto-cleanup for client refcounting
  ALSA: seq: Clean up port locking with auto cleanup
  ALSA: seq: Clean up queue locking with auto cleanup
  ALSA: seq: Clean up fifo locking with guard
  ALSA: seq: oss: Clean up core code with guard()
  ALSA: seq: oss/midi: Cleanup with guard and auto-cleanup
  ALSA: seq: oss/synth: Clean up with guard and auto cleanup
  ALSA: seq: oss/rw: Cleanup with guard

 sound/core/seq/oss/seq_oss.c        |  24 +-
 sound/core/seq/oss/seq_oss_device.h |   7 +-
 sound/core/seq/oss/seq_oss_midi.c   | 116 ++---
 sound/core/seq/oss/seq_oss_readq.c  |  10 +-
 sound/core/seq/oss/seq_oss_synth.c  | 125 ++---
 sound/core/seq/oss/seq_oss_writeq.c |   5 +-
 sound/core/seq/seq_clientmgr.c      | 759 ++++++++++++----------------
 sound/core/seq/seq_clientmgr.h      |  17 +-
 sound/core/seq/seq_fifo.c           |  15 +-
 sound/core/seq/seq_fifo.h           |   1 +
 sound/core/seq/seq_ports.c          |  19 +-
 sound/core/seq/seq_ports.h          |   2 +
 sound/core/seq/seq_queue.c          |  76 +--
 sound/core/seq/seq_queue.h          |   2 +
 sound/core/seq/seq_timer.c          |   5 +-
 15 files changed, 463 insertions(+), 720 deletions(-)

-- 
2.50.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-08-27  8:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-27  8:05 [PATCH v2 00/11] ALSA: seq: Use auto-cleanup macros Takashi Iwai
2025-08-27  8:05 ` [PATCH v2 01/11] ALSA: seq: Simplify internal command operation from OSS layer Takashi Iwai
2025-08-27  8:05 ` [PATCH v2 02/11] ALSA: seq: Clean up spin lock with guard() Takashi Iwai
2025-08-27  8:05 ` [PATCH v2 03/11] ALSA: seq: Use guard() for mutex and rwsem locks Takashi Iwai
2025-08-27  8:05 ` [PATCH v2 04/11] ALSA: seq: Use auto-cleanup for client refcounting Takashi Iwai
2025-08-27  8:05 ` [PATCH v2 05/11] ALSA: seq: Clean up port locking with auto cleanup Takashi Iwai
2025-08-27  8:05 ` [PATCH v2 06/11] ALSA: seq: Clean up queue " Takashi Iwai
2025-08-27  8:05 ` [PATCH v2 07/11] ALSA: seq: Clean up fifo locking with guard Takashi Iwai
2025-08-27  8:05 ` [PATCH v2 08/11] ALSA: seq: oss: Clean up core code with guard() Takashi Iwai
2025-08-27  8:05 ` [PATCH v2 09/11] ALSA: seq: oss/midi: Cleanup with guard and auto-cleanup Takashi Iwai
2025-08-27  8:05 ` [PATCH v2 10/11] ALSA: seq: oss/synth: Clean up with guard and auto cleanup Takashi Iwai
2025-08-27  8:05 ` [PATCH v2 11/11] ALSA: seq: oss/rw: Cleanup with guard Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).