diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-03-24 12:27:05 +0100 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-04-03 08:56:11 +0800 |
| commit | d7f3162ff802b5c39e3c449be8bccd297a4d7267 (patch) | |
| tree | 7290e16df25c56468120f938e8a6410a658cfdf3 /tools/perf/scripts/python/stackcollapse.py | |
| parent | f216e0f2d1787e662bb6662c9c522185aa3b855a (diff) | |
crypto: hifn_795x - Replace snprintf("%s") with strscpy
Replace snprintf("%s", ...) with the faster and more direct strscpy().
Check if the return value is less than 0 to detect string truncation.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
