]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: pktgen: fix mix of int/long
authorPeter Seiderer <ps.report@gmx.net>
Thu, 27 Feb 2025 13:55:57 +0000 (14:55 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 4 Mar 2025 09:57:57 +0000 (10:57 +0100)
commit90b856ae3528e42b56baf3e59eba91cad1139778
tree78ac522217d54d288d87f69b094c8d02a4318770
parent05ec5c085eb7ae044d49e04a3cff194a0b2a3251
net: pktgen: fix mix of int/long

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 <ps.report@gmx.net>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/core/pktgen.c