commit | d8187aa2241136e9fb3801e82fe8c2dfdae06802 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@linaro.org> | Fri Mar 27 15:06:24 2015 -0500 |
committer | Greg Kroah-Hartman <greg@kroah.com> | Mon Mar 30 15:28:13 2015 +0200 |
tree | c73dc31e777a8d601ec162503b8769989f27fb90 | |
parent | 973ccfd62686a2331f43b0053de052d958f50d31 [diff] |
greybus: manifest: use size_t for a size variable In identify_descriptor(), the variable desc_size represents the size of a memory object. So change its type from int to size_t. The return value for this function can be desc_size cast to int. One can verify by inspection this will never exceed INT_MAX. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>