On Wed, Sep 13, 2023 at 12:51:05AM +, Justin Stitt wrote:
> `strncpy` is deprecated for use on NUL-terminated destination strings [1].
>
> We should prefer more robust and less ambiguous string interfaces.
>
> `buf` is expected to be NUL-terminated for its eventual use in
> `kstrtoul()` and N
On Wed, Sep 13, 2023 at 12:32:31AM +, Justin Stitt wrote:
> `strncpy` is deprecated for use on NUL-terminated destination strings [1].
>
> We know `hw.partname` is supposed to be NUL-terminated by its later use with
> seq_printf:
> | nitrox_debugfs.c +25
> | seq_printf(s, " Part Name: %
On Wed, Sep 13, 2023 at 12:51:05AM +, Justin Stitt wrote:
> `strncpy` is deprecated for use on NUL-terminated destination strings [1].
>
> We should prefer more robust and less ambiguous string interfaces.
>
> `buf` is expected to be NUL-terminated for its eventual use in
> `kstrtoul()` and N