]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl_utils: Don't use plain integer as NULL pointer
authorShengjiu Wang <shengjiu.wang@nxp.com>
Thu, 7 Jul 2022 11:20:06 +0000 (19:20 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 7 Jul 2022 15:25:04 +0000 (16:25 +0100)
commita5a25f4bfd049e2caa26fcc01c6cd01f35296de1
treed231b11b90df367398685ac2fb044a667ba1f0e2
parent9e1f27bdc2f64e59032962fb2773a6a7f2809c96
ASoC: fsl_utils: Don't use plain integer as NULL pointer

Fix sparse warning:
sound/soc/fsl/fsl_utils.c:125:31: sparse: warning: Using plain integer as NULL pointer
sound/soc/fsl/fsl_utils.c:125:42: sparse: warning: Using plain integer as NULL pointer

Fixes: 32a6aafdfa14 ("ASoC: fsl_utils: Add function to handle PLL clock source")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1657192806-10569-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_utils.c