summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/boards/Kconfig
diff options
context:
space:
mode:
authorGen Zhang2019-05-29 03:53:05 +0200
committerMark Brown2019-05-29 17:35:35 +0200
commita54988113985ca22e414e132054f234fc8a92604 (patch)
tree2774606953d3f7b4dc2ad99ebfa936cbd61521dc /sound/soc/intel/boards/Kconfig
parentASoC: sun4i-spdif: Add support for H6 SoC (diff)
downloadkernel-qcow2-linux-a54988113985ca22e414e132054f234fc8a92604.tar.gz
kernel-qcow2-linux-a54988113985ca22e414e132054f234fc8a92604.tar.xz
kernel-qcow2-linux-a54988113985ca22e414e132054f234fc8a92604.zip
wcd9335: fix a incorrect use of kstrndup()
In wcd9335_codec_enable_dec(), 'widget_name' is allocated by kstrndup(). However, according to doc: "Note: Use kmemdup_nul() instead if the size is known exactly." So we should use kmemdup_nul() here instead of kstrndup(). Signed-off-by: Gen Zhang <blackgod016574@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards/Kconfig')
0 files changed, 0 insertions, 0 deletions