[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87a5oxy3jg.wl-tiwai@suse.de>
Date: Mon, 22 Jan 2024 13:07:47 +0100
From: Takashi Iwai <tiwai@...e.de>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org,
linux-sound@...r.kernel.org
Subject: Re: [PATCH] ALSA: synth: Save a few bytes of memory when registering a 'snd_emux'
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@...adoo.fr>
Thanks, applied now.
Takashi
Powered by blists - more mailing lists