diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2021-04-16 22:11:41 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-04-19 16:03:30 +0300 |
commit | d3b47a888f0bc66a8590941cfa57ba015b288040 (patch) | |
tree | a3f9fb2be1618183316e7a157baff62e8a470de2 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 59ce3233a538fc21c5c59ff38cafd784cbcd6de0 (diff) | |
download | linux-d3b47a888f0bc66a8590941cfa57ba015b288040.tar.xz |
ASoC: soc-core: fix signed/unsigned issue
cppcheck warning:
sound/soc/soc-core.c:2237:13: warning: %x in format string (no. 1)
requires 'unsigned int *' but the argument type is 'signed
int *'. [invalidScanfArgType_int]
} else if (sscanf(name, "%x-%x", &id1, &id2) == 2) {
^
sound/soc/soc-core.c:2237:13: warning: %x in format string (no. 2)
requires 'unsigned int *' but the argument type is 'signed
int *'. [invalidScanfArgType_int]
} else if (sscanf(name, "%x-%x", &id1, &id2) == 2) {
^
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Daniel Baluta <daniel.baluta@gmail.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Link: https://lore.kernel.org/r/20210416191144.27006-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions