summaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2023-07-25 09:04:48 +0300
committerKalle Valo <kvalo@kernel.org>2023-08-01 17:49:02 +0300
commitf5343efdf5b5d66844ce041e5dcd585ee5697747 (patch)
treea39e20417ead65bd4556e151b86d9753a1fe9ba9 /tools/perf/scripts
parent3e14212f79fd05c4f5bdfa4eba5ae53f75900410 (diff)
wifi: libertas: prefer kstrtoX() for simple integer conversions
Prefer 'kstrtoX()' family of functions over 'sscanf()' to convert strings to integers and always check results of the conversions. Found by Linux Verification Center (linuxtesting.org) with SVACE. Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20230725060531.72968-6-dmantipov@yandex.ru
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions