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

Krzysztof Kozlowski krzk at kernel.org
Mon Nov 9 06:30:07 PST 2026


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 at kernel.org>




More information about the linux-arm-kernel mailing list