aboutsummaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorPierre-Louis Bossart <[email protected]>2021-04-16 14:11:41 -0500
committerMark Brown <[email protected]>2021-04-19 14:03:30 +0100
commitd3b47a888f0bc66a8590941cfa57ba015b288040 (patch)
treea3f9fb2be1618183316e7a157baff62e8a470de2 /include/linux/overflow.h
parent59ce3233a538fc21c5c59ff38cafd784cbcd6de0 (diff)
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 <[email protected]> Reviewed-by: Daniel Baluta <[email protected]> Reviewed-by: Guennadi Liakhovetski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions