commit | 169d1338ed4ed91412761a77095a13b9992993ba | [log] [tgz] |
---|---|---|
author | Tomas Winkler <tomas.winkler@intel.com> | Tue Jun 19 09:13:35 2012 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jun 20 16:41:38 2012 -0700 |
tree | 58deb492b59544715bd0fb7c36913d43807244db | |
parent | d20411588d2f47ded7b0a02ed1005c7e3ce0df40 [diff] |
mei: make mei_write_message more readable 1. reduce hairy casting 2. replace open code with mei_count_empty_write_slots 4. include header size in check for overflow 3. use concise for loop instead of a while loop Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>