On Fri, 20 Oct 2023 19:46:11 +0000, Justin Stitt wrote: > strncpy() is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > We expect ac->name to be NUL-terminated based on its usage with format > strings: > > [...] Applied, thanks! [1/1] power: supply: surface-charger: replace deprecated strncpy with strscpy commit: afc88dfda013970bb1e214b331e99adca2f98312 Best regards, -- Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>