aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Antipov <[email protected]>2023-07-25 09:04:48 +0300
committerKalle Valo <[email protected]>2023-08-01 17:49:02 +0300
commitf5343efdf5b5d66844ce041e5dcd585ee5697747 (patch)
treea39e20417ead65bd4556e151b86d9753a1fe9ba9 /tools/perf/scripts/python
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 <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions