commit | f645f72d876586c4950dcd5bf516744db0aeb30b | [log] [tgz] |
---|---|---|
author | Stephen Boyd <sboyd@codeaurora.org> | Wed Jul 15 11:55:42 2015 -0700 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Tue Jul 28 11:58:35 2015 -0700 |
tree | 0edcbf5f9e6bdd4ecba39d30f49a9f0536976c21 | |
parent | 4d341056202a4725777ed99897f6456405819cd4 [diff] |
clk: ti: Check kzalloc() for failures smatch reports a failure to check kzalloc() here: drivers/clk/ti/clk.c:232 omap2_clk_provider_init() error: potential null dereference 'io'. (kzalloc returns null) Check for an allocation failure and return -ENOMEM. Acked-by: Tero Kristo <t-kristo@ti.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>