diff options
| author | Dmitry Antipov <[email protected]> | 2023-07-25 09:04:48 +0300 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2023-08-01 17:49:02 +0300 |
| commit | f5343efdf5b5d66844ce041e5dcd585ee5697747 (patch) | |
| tree | a39e20417ead65bd4556e151b86d9753a1fe9ba9 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 3e14212f79fd05c4f5bdfa4eba5ae53f75900410 (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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions