diff options
| author | Ben Dooks <ben.dooks@codethink.co.uk> | 2026-03-10 12:51:06 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-03-10 14:53:04 +0000 |
| commit | 207fd1f4d84b7f073eaab556623bf4ad3a161f3f (patch) | |
| tree | 2cd523c8c09fab18bc5c697c4f77dd582e975967 /tools/perf/scripts/python | |
| parent | 49c002275a8cabe2fcb3a99b39a1b7fae2351215 (diff) | |
ASoC: SOF: sof-audio: pcm_id is __le32
The pcm_id value is __le32 so convert it before passing to the dev_dbg
function to be printed. Also fixup some other uses of __le32 data and
a couple of places where %u should have been used instead of %d
Picked up by sparse prototype for variadic and printf
function checking. Fixes a large number of sparse warnings, such as:
sound/soc/sof/pcm.c:84:25: warning: incorrect type in argument 4 (different base types)
sound/soc/sof/pcm.c:84:25: expected unsigned int
sound/soc/sof/pcm.c:84:25: got restricted __le32 [usertype] pcm_id
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Acked-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://patch.msgid.link/20260310125106.178944-1-ben.dooks@codethink.co.uk
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
