Re: [PATCH] pinctrl: samsung: Use snprintf() to construct pin bank names

From: Krzysztof Kozlowski

Date: Mon Nov 09 2026 - 09:36:31 EST



On Sun, 27 Sep 2026 12:07:58 -0700, Mariia Nikitash wrote:
> samsung_banks_node_get() constructs each pin bank node name by copying
> bank->name with strscpy() and appending the suffix with strlcat().
>
> In preparation for removing the deprecated strlcat() API[1], format the
> node name in a single snprintf() call, which preserves the existing
> truncation check against sizeof(node_name).
>
> [...]

Applied, thanks!

[1/1] pinctrl: samsung: Use snprintf() to construct pin bank names
https://git.kernel.org/pinctrl/samsung/c/a47853cef90c0553457e690df693a6cc806a3849

Best regards,
--
Krzysztof Kozlowski <krzk@xxxxxxxxxx>