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.
Attachment:
signature.asc
Description: PGP signature
- References:
- [PATCH] sound: soc: wcd934x: fix an incorrect use of kstrndup()
- From: Fullway Wang
- [PATCH] sound: soc: wcd934x: fix an incorrect use of kstrndup()
- Prev by Date: Re: [PATCH] ASoC: amd: yc: Add DMI quirk for MSI Bravo 15 C7VF
- Next by Date: Re: [PATCH] ASoC: amd: acp: Fix support for a Huawei Matebook laptop
- Previous by thread: [PATCH] sound: soc: wcd934x: fix an incorrect use of kstrndup()
- Next by thread: Re: [PATCH] sound: soc: wcd934x: fix an incorrect use of kstrndup()
- Index(es):
![]() |