Re: [PATCH net-next] selftests: net: cleanup busy_poller.c

2024-12-05 Thread Simon Horman
On Tue, Dec 03, 2024 at 08:35:53AM -0800, Joe Damato wrote: > On Tue, Dec 03, 2024 at 08:26:11AM -0800, Joe Damato wrote: > > On Mon, Dec 02, 2024 at 09:14:58PM -0800, Stanislav Fomichev wrote: > > > On 12/03, Joe Damato wrote: > > > > Fix various integer type conversions by using strtoull and a te

Re: [PATCH net-next] selftests: net: cleanup busy_poller.c

2024-12-03 Thread Joe Damato
On Tue, Dec 03, 2024 at 08:26:11AM -0800, Joe Damato wrote: > On Mon, Dec 02, 2024 at 09:14:58PM -0800, Stanislav Fomichev wrote: > > On 12/03, Joe Damato wrote: > > > Fix various integer type conversions by using strtoull and a temporary > > > variable which is bounds checked before being casted i

Re: [PATCH net-next] selftests: net: cleanup busy_poller.c

2024-12-03 Thread Joe Damato
On Mon, Dec 02, 2024 at 09:14:58PM -0800, Stanislav Fomichev wrote: > On 12/03, Joe Damato wrote: > > Fix various integer type conversions by using strtoull and a temporary > > variable which is bounds checked before being casted into the > > appropriate cfg_* variable for use by the test program.

Re: [PATCH net-next] selftests: net: cleanup busy_poller.c

2024-12-02 Thread Stanislav Fomichev
On 12/03, Joe Damato wrote: > Fix various integer type conversions by using strtoull and a temporary > variable which is bounds checked before being casted into the > appropriate cfg_* variable for use by the test program. > > While here, free the strdup'd cfg string for overall hygenie. Thank yo

[PATCH net-next] selftests: net: cleanup busy_poller.c

2024-12-02 Thread Joe Damato
Fix various integer type conversions by using strtoull and a temporary variable which is bounds checked before being casted into the appropriate cfg_* variable for use by the test program. While here, free the strdup'd cfg string for overall hygenie. Signed-off-by: Joe Damato --- tools/testing/