diff options
author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2024-12-18 10:43:58 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-12-18 14:17:40 +0000 |
commit | cf126261d5d3b8767fd9c838ffe7213144d05147 (patch) | |
tree | 6d477a42035118ac72e42273d4c7bdc9579f035e /include/sound/sdca_function.h | |
parent | d349fd151f1aeb0d8aea4a2f0fe9ba24309609ed (diff) |
ASoC: fsl_asrc_m2m: force cast for snd_pcm_format_t type
Fix sparse warnings:
fsl_asrc_m2m.c:360:45: sparse: warning: incorrect type in argument 1 (different base types)
fsl_asrc_m2m.c:360:45: sparse: expected restricted snd_pcm_format_t [usertype] pcm_forma
fsl_asrc_m2m.c:360:45: sparse: got unsigned int [usertype] format
fsl_asrc_m2m.c:361:41: sparse: warning: incorrect type in assignment (different base types)
fsl_asrc_m2m.c:361:41: sparse: expected restricted snd_pcm_format_t
fsl_asrc_m2m.c:361:41: sparse: got unsigned int [usertype] format
fsl_asrc_m2m.c:365:45: sparse: warning: incorrect type in argument 1 (different base types)
fsl_asrc_m2m.c:365:45: sparse: expected restricted snd_pcm_format_t [usertype] pcm_forma
fsl_asrc_m2m.c:365:45: sparse: got unsigned int [usertype] pcm_format
fsl_asrc_m2m.c:366:42: sparse: warning: incorrect type in assignment (different base types)
fsl_asrc_m2m.c:366:42: sparse: expected restricted snd_pcm_format_t
fsl_asrc_m2m.c:366:42: sparse: got unsigned int [usertype] pcm_format
fsl_asrc_m2m.c:595:54: sparse: warning: incorrect type in assignment (different base types)
fsl_asrc_m2m.c:595:54: sparse: expected unsigned int [usertype] formats
fsl_asrc_m2m.c:595:54: sparse: got restricted snd_pcm_format_t [assigned] [usertype] k
Fixes: 24a01710f627 ("ASoC: fsl_asrc_m2m: Add memory to memory function")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202412180043.PAA4t4sQ-lkp@intel.com/
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://patch.msgid.link/20241218024358.3022635-1-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/sdca_function.h')
0 files changed, 0 insertions, 0 deletions