diff options
author | Stefan Binding <sbinding@opensource.cirrus.com> | 2023-12-19 16:22:31 +0000 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-12-21 09:23:51 +0100 |
commit | ed7326a24a1a9af65fafefd86b505e7c3b968f6d (patch) | |
tree | 8c71d560209b990ba41f4dd3438a8fa661054e2a /sound/soc | |
parent | 092a1362470937e46947ccdc6fe4c8a9b72f3f49 (diff) |
ALSA: hda: cs35l41: Do not allow uninitialised variables to be freed
Initialise the variables to NULL so that they cannot be uninitialised
when devm_kfree is called.
Found by static analysis.
Fixes: 8c4c216db8fb ("ALSA: hda: cs35l41: Add config table to support many laptops without _DSD")
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20231219162232.790358-2-sbinding@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc')
0 files changed, 0 insertions, 0 deletions