On Donnerstag, 6. Oktober 2016 08:41:39 CET Linus Lüssing wrote:
~((u32)0);
I already saw this multiple times. Maybe you could use U32_MAX from linux/kernel.h.
u32 min_throughput = ~((u32)0), max_throughput = 0;
I personally don't like multiple assignments in one line. Makes it harder to check what is assigned and what is actually the next statement.
Kind regards, Sven