diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-06-03 19:44:13 +0300 |
|---|---|---|
| committer | Kalle Valo <kvalo@kernel.org> | 2022-06-08 11:08:34 +0300 |
| commit | 9e8e9187673cb24324f9165dd47b2b28f60b0b10 (patch) | |
| tree | 298c457c0103b43de6e06b6111b3534278393531 /scripts/gdb/linux/utils.py | |
| parent | d38c9df53ad6cd374a047126cd6aa5c5dffb455f (diff) | |
wifi: ray_cs: Utilize strnlen() in parse_addr()
Instead of doing simple operations and using an additional variable on stack,
utilize strnlen() and reuse len variable.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220603164414.48436-1-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
