Re: [kbuild] drivers/pinctrl/pinctrl-k210.c:970 k210_fpioa_probe() warn: 'pdata->clk' not released on lines: 962,968.
From: Dan Carpenter
Date: Mon Aug 02 2021 - 08:55:38 EST
On Sun, Aug 01, 2021 at 10:50:51PM +0000, Damien Le Moal wrote:
>
> I can add the clk_unprepare_disable() call to avoid the warning, but that is
> rather pointless as the system will not boot at all if there is an error here.
> Thoughts ?
These static checker warnings just a one time email service. If you
don't want to free resources then that's fine. If people run Smatch
manually then they'll still see the warnings but the kbuild bot won't
email about it again.
regards,
dan carpenter