Commit 5afce048 authored by Miguel García's avatar Miguel García Committed by Sebastian Reichel
Browse files

power: supply: bq2415x: replace deprecated strcpy() with strscpy()



strcpy() is deprecated for NUL-terminated strings. Replace it with
strscpy() for revstr (local fixed-size buffer).

Signed-off-by: default avatarMiguel García <miguelgarciaroman8@gmail.com>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 98092760
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment