1. u8 counters are prone to hard to detect overflow:
make them unsigned long to match bit_ functions argument type
2. don't check me_clients_num for negativity, it is unsigned.
3. init all the me client counters from one place
Cc: # 3.9+
Signed-off-by: Tomas Winkler
---
1. u8 counters are prone to hard to detect overflow:
make them unsigned long to match bit_ functions argument type
2. don't check me_clients_num for negativity, it is unsigned.
3. init all the me client counters from one place
Cc: sta...@vger.kernel.org # 3.9+
Signed-off-by: Tomas Winkler
2 matches
Mail list logo