linux/Documentation/sound
Manuel Ebner 7c6d969d53 Documentation: adopt new coding style of type-aware kmalloc-family
Update the documentation to reflect new type-aware kmalloc-family as
suggested in commit 2932ba8d9c ("slab: Introduce kmalloc_obj()
and family")

ptr = kmalloc(sizeof(*ptr), gfp);
 -> ptr = kmalloc_obj(*ptr, gfp);
ptr = kmalloc(sizeof(struct some_obj_name), gfp);
 -> ptr = kmalloc_obj(*ptr, gfp);
ptr = kzalloc(sizeof(*ptr), gfp);
 -> ptr = kzalloc_obj(*ptr, gfp);
ptr = kmalloc_array(count, sizeof(*ptr), gfp);
 -> ptr = kmalloc_objs(*ptr, count, gfp);
ptr = kcalloc(count, sizeof(*ptr), gfp);
 -> ptr = kzalloc_objs(*ptr, count, gfp);

Signed-off-by: Manuel Ebner <manuelebner@mailbox.org>
Acked-by: SeongJae Park <sj@kernel.org>
Acked-by: Vlastimil Babka (SUSE) <vbabka@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260429071445.309733-2-manuelebner@mailbox.org>
History 2026-05-03 08:54:21 -06:00
..
cards ALSA: emu10k1: Fix typo in docs 2025-10-04 15:47:24 +02:00
codecs ASoC: doc: cs35l56: Update firmware filename description for B0 silicon 2025-11-03 13:09:14 +00:00
designs ALSA: docs: Fix module paths in /sys 2025-02-05 13:05:00 +01:00
hd-audio docs: fix 're-use' -> 'reuse' in documentation 2026-02-02 09:54:15 -07:00
kernel-api Documentation: adopt new coding style of type-aware kmalloc-family 2026-05-03 08:54:21 -06:00
soc ASoC: doc: Internally link to Writing an ALSA Driver docs 2025-08-29 10:50:42 +02:00
alsa-configuration.rst ALSA: usb-audio: Add QUIRK_FLAG_MIXER_{PLAYBACK,CAPTURE}_LINEAR_VOL 2026-03-04 12:05:57 +01:00
index.rst Documentation: use a source-read extension for the index link boilerplate 2026-01-23 11:59:34 -07:00
utimers.rst Docs/sound: Add documentation for userspace-driven ALSA timers 2024-08-18 09:55:54 +02:00