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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux