On Sat, 20 Jan 2024 10:42:12 +0100, Christophe JAILLET wrote: > > snd_emux_register() calls pass a string literal as the 'name' parameter. > > So kstrdup_const() can be used instead of kfree() to avoid a memory > allocation in such cases. > > Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> Thanks, applied now. Takashi
- References:
- [PATCH] ALSA: synth: Save a few bytes of memory when registering a 'snd_emux'
- From: Christophe JAILLET
- [PATCH] ALSA: synth: Save a few bytes of memory when registering a 'snd_emux'
- Prev by Date: Re: [PATCH] ALSA: hda/realtek: fix mute/micmute LEDs for HP ZBook Power
- Next by Date: Re: [PATCH 2/3] ASoC: dt-bindings: xmos,xvf3500: add bindings for XMOS XVF3500
- Previous by thread: [PATCH] ALSA: synth: Save a few bytes of memory when registering a 'snd_emux'
- Next by thread: [PATCH] ASoC: codecs: ES8326: Remove executable bit
- Index(es):