Re: drm/nouveau/clk/gm20b: Understanding challenges around gm20b_clk_new()
From: Markus Elfring
Date: Wed Jun 03 2020 - 01:05:29 EST
> Ben has explained this problem:
> https://lore.kernel.org/patchwork/patch/1249592/
> Since the caller will check "pclk" on failure, we don't need to free
> "clk" in gm20b_clk_new() and I think this patch is no longer needed.
* I am curious if it can become easier to see the relationships for
these variables according to mentioned âdestructorâ calls.
* Did you notice opportunities to improve source code analysis
(or software documentation) accordingly?
Regards,
Markus