Messages in this thread | | | Date | Thu, 14 May 2015 15:31:02 -0700 | From | Stephen Boyd <> | Subject | Re: [RFT PATCH 1/8] clk: ti: dra7-atl-clock: Fix possible ERR_PTR dereference |
| |
On 05/13, Krzysztof Kozlowski wrote: > of_clk_get_from_provider() returns ERR_PTR on failure. The > dra7-atl-clock driver was not checking its return value and immediately > used it in __clk_get_hw(). __clk_get_hw() dereferences supplied clock, > if it is not NULL, so in that case it would dereference an ERR_PTR. > > Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> > Cc: <stable@vger.kernel.org> > Fixes: 9ac33b0ce81f ("CLK: TI: Driver for DRA7 ATL (Audio Tracking Logic)") > ---
Applied to clk-next
-- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
| |