Skip to content
Commit 9e8e9187 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Kalle Valo
Browse files

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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarKalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220603164414.48436-1-andriy.shevchenko@linux.intel.com
parent d38c9df5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment