Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae02e741 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: (mc13783-adc) Increase size of name string



smatch complains about

mc13783_adc_probe() error: snprintf() chops off the last chars of
'id->name': 20 +vs 10

Use PLATFORM_NAME_SIZE instead of '10' as size when declaring
the name variable.

Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 45a5b3a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment