commit | c8c8d080ed94cea6757f2d781b6e360a74b256fd | [log] [tgz] |
---|---|---|
author | Tomas Winkler <tomas.winkler@intel.com> | Mon Mar 11 18:27:02 2013 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Mar 15 11:10:48 2013 -0700 |
tree | 5fa9937912d66e7d6633c3109fdce1b344c8728f | |
parent | 388f7bd24d2ffc945ad08be3a592672c1e32156e [diff] |
mei: revamp mei_data2slots 1. Move the mei_data2slots to mei_dev.h as it will be used by the all supported HW. 2. Change return value from u8 to u32 to catch possible overflows 3. Eliminate computing the slots number twice in the same function Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>