diff options
| author | Andy Shevchenko <andy.shevchenko@gmail.com> | 2024-11-10 22:59:41 +0200 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2024-11-13 14:18:06 +0100 |
| commit | b7e9fc3361c3f0836833dc2edba3dfef054a338a (patch) | |
| tree | 172ce6eee321a74c29b2af361ed00943f3eb39d3 /rust/helpers/helpers.c | |
| parent | dt-bindings: pinctrl: sx150xq: allow gpio line naming (diff) | |
| download | linux-b7e9fc3361c3f0836833dc2edba3dfef054a338a.tar.gz linux-b7e9fc3361c3f0836833dc2edba3dfef054a338a.zip | |
pinctrl: cy8c95x0: Use 2-argument strscpy()
Use 2-argument strscpy(), which is not only shorter but also provides
an additional check that destination buffer is an array.
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/20241110210040.18918-2-andy.shevchenko@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
