Re: [linux-next:master 139/1036] drivers/gpu/drm/etnaviv/etnaviv_drv.c:614:3-14: ERROR: probable double put. (fwd)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,


On 2024/1/23 17:25, Lucas Stach wrote:
Hi Jingfeng, hi Julia,

Am Montag, dem 22.01.2024 um 21:49 +0800 schrieb Sui JIngfeng:
Hi,


On 2024/1/22 20:33, Julia Lawall wrote:
The of_node_put on line 614 does not look useful.
Simply delete that line would solve this problem, what do you think?

Yes, that looks right. As the patch was only in etnaviv/next, which is
not a stable branch I amended the patch, dropping this line.


OK,

Because the for_each_compatible_node() will call of_node_put() for us in the loop,
Since you have deleted this line, the warning problem get solved. Thanks a lot. :-)


Regards,
Lucas





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux