diff options
| author | Bill Wendling <morbo@google.com> | 2026-09-27 12:07:58 -0700 |
|---|---|---|
| committer | Krzysztof Kozlowski <krzk@kernel.org> | 2026-11-09 15:28:21 +0100 |
| commit | a47853cef90c0553457e690df693a6cc806a3849 (patch) | |
| tree | 4ceff0607dc1bbedb83def14380a8809e63ebd23 /scripts/Makefile.thinlto | |
| parent | 6bb1aa75bc2c85a89ee7856b9557b519fb7428cf (diff) | |
| download | linux-next-a47853cef90c0553457e690df693a6cc806a3849.tar.gz linux-next-a47853cef90c0553457e690df693a6cc806a3849.zip | |
pinctrl: samsung: Use snprintf() to construct pin bank names
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).
Link: https://github.com/KSPP/linux/issues/370 [1]
Signed-off-by: Bill Wendling <morbo@google.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Mariia Nikitash <nikitash.mariiaw@gmail.com>
Link: https://patch.msgid.link/20260927190758.609156-1-nikitash.mariiaw@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
