commit | a1c22a4be7983f64324e960f7ba373784c0c8289 | [log] [tgz] |
---|---|---|
author | Andrzej Hajda <a.hajda@samsung.com> | Thu Sep 24 16:00:16 2015 +0200 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Thu Oct 01 15:21:50 2015 -0700 |
tree | 92868f65de87f9b387d78f1aeb3815e0143dd71e | |
parent | 8334c0e7b983fb27e0d8788901e9621d1946ba93 [diff] |
clk: st: fix handling result of of_property_count_strings The function can return negative value. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107 Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>