[char-misc-next 1/3] mei: make me client counters less error prone

2013-09-02 Thread 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: # 3.9+ Signed-off-by: Tomas Winkler ---

[char-misc-next 1/3] mei: make me client counters less error prone

2013-09-02 Thread 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