summaryrefslogtreecommitdiff
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorCharles Han <hanchunchao@inspur.com>2025-09-05 17:18:44 +0800
committerMark Brown <broonie@kernel.org>2025-09-05 11:57:51 +0100
commitbe585f7ebc99598edf97c3001d0f8d67954ab376 (patch)
tree957901fe666dc0c2d14113e91dbc0f12d55ec418 /rust/helpers/platform.c
parent554f6006c3c050026a0a505dfedfe03407e267e1 (diff)
ASoC: codecs: fs210x: Add NULL check in fs210x_register_snd_component
Add check for the return value of devm_kmemdup() to prevent potential null pointer dereference. Fixes: 756117701779 ("ASoC: codecs: Add FourSemi FS2104/5S audio amplifier driver") Signed-off-by: Charles Han <hanchunchao@inspur.com> Message-ID: <20250905091845.1559-1-hanchunchao@inspur.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions