Re: [PATCH v3] powerpc/8xx: fix possible object reference leak

2019-03-25 Thread Christophe Leroy
Le 26/03/2019 à 11:29, Peng Hao a écrit : Could you fix your clock or clock setup ? This emails appears to have been sent today at 11:29 (Paris Time ie GMT+1) allthough it is only 7am at the time being. Christophe From: Wen Yang The call to of_find_compatible_node returns a node pointe

[PATCH v3] powerpc/8xx: fix possible object reference leak

2019-03-25 Thread Peng Hao
From: Wen Yang The call to of_find_compatible_node returns a node pointer with refcount incremented thus it must be explicitly decremented after the last usage. irq_domain_add_linear also calls of_node_get to increase refcount, so irq_domain will not be affected when it is released. Detected by