diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2025-08-08 17:52:21 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2025-08-11 23:20:26 -0500 |
commit | d7f1affc556e07208453224a025bd67583671ae2 (patch) | |
tree | 30c62a0ce1008e349fedbbdec09e741322c1fb43 /scripts/lib/kdoc/kdoc_parser.py | |
parent | b63335fb3d32579c5ff0b7038b9cc23688fff528 (diff) |
cifs: avoid extra calls to strlen() in cifs_get_spnego_key()
Since 'snprintf()' returns the number of characters emitted, an
output position may be advanced with this return value rather
than using an explicit calls to 'strlen()'. Compile tested only.
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions