diff options
| author | songxiebing <songxiebing@kylinos.cn> | 2026-03-25 10:17:52 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-04-07 12:33:19 +0100 |
| commit | fd495be8aa198a0d57069c37a9b44ee9e86a7486 (patch) | |
| tree | 2a5cf216cfa9e71d510860f732d2a541b991c270 /tools/perf/scripts/python/stackcollapse.py | |
| parent | d78ddeb8938a366aabfabf60255c1a94de8d8ea1 (diff) | |
ASoC: intel: avs: Fix type mismatch in variable assignment
The input parameter requirement for snd_pcm_format_physical_with is
snd_pcm_format_t,but params->codec.format is __u32, resulting in a
mismatch error:
sparse warnings: (new ones prefixed by >>)
>> sound/soc/intel/avs/probes.c:147:58: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected restricted snd_pcm_format_t [usertype] format @@ got unsigned int [usertype] format @@
sound/soc/intel/avs/probes.c:147:58: sparse: expected restricted snd_pcm_format_t [usertype] format
sound/soc/intel/avs/probes.c:147:58: sparse: got unsigned int [usertype] format
So here, the format is cast to snd_pcm_format_t.
Signed-off-by: songxiebing <songxiebing@kylinos.cn>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202512190032.hnwn9mCV-lkp@intel.com/
Link: https://patch.msgid.link/20260325021752.238203-1-songxiebing@kylinos.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
