[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b8309f8a-4f2c-48e2-9136-2b7175f2f3ee@sirena.org.uk>
Date: Mon, 29 Jan 2024 21:32:09 +0000
From: Mark Brown <broonie@...nel.org>
To: Fullway Wang <fullwaywang@...look.com>
Cc: srinivas.kandagatla@...aro.org, bgoswami@...cinc.com, tiwai@...e.com,
linux-sound@...r.kernel.org, linux-kernel@...r.kernel.org,
fullwaywang@...cent.com
Subject: Re: [PATCH] sound: soc: wcd934x: fix an incorrect use of kstrndup()
On Thu, Jan 18, 2024 at 03:52:49PM +0800, Fullway Wang wrote:
> In wcd934x_codec_enable_dec(), kstrndup() is used to alloc memory.
> However, kmemdup_nul() should be used instead with the size known.
Please submit patches using subject lines reflecting the style for the
subsystem, this makes it easier for people to identify relevant patches.
Look at what existing commits in the area you're changing are doing and
make sure your subject lines visually resemble what they're doing.
There's no need to resubmit to fix this alone.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists