commit | cb4af713f95f049056c25e0c18f652c3338c2bc7 | [log] [tgz] |
---|---|---|
author | Tomas Winkler <tomas.winkler@intel.com> | Mon Sep 02 13:29:45 2013 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Oct 05 07:13:10 2013 -0700 |
tree | 558b60da77c649ceebc0f92e8296291ecbc8a6ee | |
parent | 81fbb94d1fbdad184ca4091da4cae87a92dbf3c7 [diff] |
mei: make me client counters less error prone commit 1aee351a739153529fbb98ee461777b2abd5e1c9 upstream. 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 Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>