summaryrefslogtreecommitdiff
path: root/sound/soc/sof
diff options
context:
space:
mode:
authorDavid Lin <CTLIN0@nuvoton.com>2023-11-17 07:30:12 +0300
committerMark Brown <broonie@kernel.org>2023-11-17 15:47:49 +0300
commitc1501f2597dd08601acd42256a4b0a0fc36bf302 (patch)
tree98a1d4f3d172bf669ce9003ef5cfb6c3fb6b53fd /sound/soc/sof
parentd5c65be34df73fa01ed05611aafb73b440d89e29 (diff)
downloadlinux-c1501f2597dd08601acd42256a4b0a0fc36bf302.tar.xz
ASoC: nau8822: Fix incorrect type in assignment and cast to restricted __be16
This issue is reproduced when W=1 build in compiler gcc-12. The following are sparse warnings: sound/soc/codecs/nau8822.c:199:25: sparse: sparse: incorrect type in assignment sound/soc/codecs/nau8822.c:199:25: sparse: expected unsigned short sound/soc/codecs/nau8822.c:199:25: sparse: got restricted __be16 sound/soc/codecs/nau8822.c:235:25: sparse: sparse: cast to restricted __be16 sound/soc/codecs/nau8822.c:235:25: sparse: sparse: cast to restricted __be16 sound/soc/codecs/nau8822.c:235:25: sparse: sparse: cast to restricted __be16 sound/soc/codecs/nau8822.c:235:25: sparse: sparse: cast to restricted __be16 Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202311122320.T1opZVkP-lkp@intel.com/ Signed-off-by: David Lin <CTLIN0@nuvoton.com> Link: https://lore.kernel.org/r/20231117043011.1747594-1-CTLIN0@nuvoton.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof')
0 files changed, 0 insertions, 0 deletions