Re: [PATCH V2] coresight: etm4x: Ensure valid drvdata and clock before clk_put()

From: Suzuki K Poulose
Date: Thu Aug 17 2023 - 06:58:49 EST


On Thu, 17 Aug 2023 09:29:26 +0530, Anshuman Khandual wrote:
> This validates 'drvdata' and 'drvdata->pclk' clock before calling clk_put()
> in etm4_remove_platform_dev(). The problem was detected using Smatch static
> checker as reported.
>
>

Applied, thanks!

[1/1] coresight: etm4x: Ensure valid drvdata and clock before clk_put()
https://git.kernel.org/coresight/c/a4621fd1d4fd

Best regards,
--
Suzuki K Poulose <suzuki.poulose@xxxxxxx>