Messages in this thread | | | Subject | Re: [PATCH v2 1/2] clk: samsung: exynos5: Fix possible NULL pointer exception on platform_device_alloc() failure | From | Stephen Boyd <> | Date | Thu, 21 Feb 2019 13:33:08 -0800 |
| |
Quoting Krzysztof Kozlowski (2019-02-21 03:45:51) > During initialization of subdevices if platform_device_alloc() failed, > returned NULL pointer will be later dereferenced. Add proper error > paths to exynos5_clk_register_subcmu(). The return value of this > function is still ignored because at this stage of init there is nothing > we can do. > > Fixes: b06a532bf1fa ("clk: samsung: Add Exynos5 sub-CMU clock driver") > Cc: <stable@vger.kernel.org> > Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> > ---
Applied to clk-next
| |