Re: [PATCH net] selftests/net: fix clang issues for target arch PowerPC and others

2020-07-24 Thread Eric Dumazet
On 7/24/20 11:17 AM, Tanner Love wrote: > From: Tanner Love > > Address these warnings observed with clang 9. > > > tcp_mmap: > Compilation yielded: > warning: result of comparison of constant 34359738368 with \ > expression of type 'size_t' (aka 'unsigned int') is always true \ size_t is n

[PATCH net] selftests/net: fix clang issues for target arch PowerPC and others

2020-07-24 Thread Tanner Love
From: Tanner Love Address these warnings observed with clang 9. rxtimestamp: The signedness of char is implementation-dependent. Some systems (including PowerPC and ARM) use unsigned char. Compilation yielded: warning: result of comparison of constant -1 with expression of type \ 'char' is alway