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

From: Stanislav Fomichev
Date: Wed Dec 04 2024 - 13:39:32 EST


On 12/04, 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.
> - initialize napi_id = 0 in setup_queue to avoid warnings on some
> compilers.
>
> Signed-off-by: Joe Damato <jdamato@xxxxxxxxxx>
> ---
> v2:
> - initialize napi_id to 0 in setup_queue to avoid clang warning as
> suggested by Stanislav. Tested with clang 10.0.0 and 18.1.8

Acked-by: Stanislav Fomichev <sdf@xxxxxxxxxxx>