Re: [PATCH net-next v6 1/8] net: pktgen: fix mix of int/long

2025-02-25 Thread Simon Horman
On Fri, Feb 21, 2025 at 10:52:39PM +0100, Peter Seiderer wrote: > Fix mix of int/long (and multiple conversion from/to) by using consequently > size_t for i and max and ssize_t for len and adjust function signatures > of hex32_arg(), count_trail_chars(), num_arg() and strn_len() accordingly. > > S

[PATCH net-next v6 1/8] net: pktgen: fix mix of int/long

2025-02-21 Thread Peter Seiderer
Fix mix of int/long (and multiple conversion from/to) by using consequently size_t for i and max and ssize_t for len and adjust function signatures of hex32_arg(), count_trail_chars(), num_arg() and strn_len() accordingly. Signed-off-by: Peter Seiderer --- Changes v5 -> v6 - adjust to dropped p