Re: [PATCH net-next] netfilter: x_tables: Remove unnecessary strscpy() size arguments

From: Florian Westphal
Date: Wed Mar 19 2025 - 17:22:41 EST


Thorsten Blum <thorsten.blum@xxxxxxxxx> wrote:
> If the destination buffer has a fixed length, both strscpy_pad() and
> strscpy() automatically determine its size using sizeof() when the
> argument is omitted. This makes the explicit sizeof() calls unnecessary.
> Remove them.

Sorry, not going to ack this, IMO this is just useless noise.