Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
Linux-Kernel Archive: Re: [PATCH v2] mips/pic32/pic32mzda: Fix refcount leak bugs Re: [PATCH v2] mips/pic32/pic32mzda: Fix refcount leak bugs From: Thomas Bogendoerfer Date: Tue Jun 21 2022 - 11:22:07 EST Next message: Thomas Bogendoerfer: "Re: [PATCH] arch: mips: generic: Add missing of_node_put() in board-ranchu.c" Previous message: Thomas Bogendoerfer: "Re: [PATCH] mips: mti-malta: Fix refcount leak in malta-time.c" In reply to: Liang He: "[PATCH v2] mips/pic32/pic32mzda: Fix refcount leak bugs" Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] On Sun, Jun 19, 2022 at 12:54:27PM +0800, Liang He wrote: > of_find_matching_node(), of_find_compatible_node() and > of_find_node_by_path() will return node pointers with refcout > incremented. We should call of_node_put() when they are not > used anymore. > > Signed-off-by: Liang He > --- > changelog: > > v2: (1) merge pic32/pic32mzda bugs into one patch > (2) fix leak bug related to of_find_node_by_path. > v1: use two patch for intit.c and time.c > > arch/mips/pic32/pic32mzda/init.c | 7 ++++++- > arch/mips/pic32/pic32mzda/time.c | 3 +++ > 2 files changed, 9 insertions(+), 1 deletion(-) applied to mips-fixes. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ] Next message: Thomas Bogendoerfer: "Re: [PATCH] arch: mips: generic: Add missing of_node_put() in board-ranchu.c" Previous message: Thomas Bogendoerfer: "Re: [PATCH] mips: mti-malta: Fix refcount leak in malta-time.c" In reply to: Liang He: "[PATCH v2] mips/pic32/pic32mzda: Fix refcount leak bugs" Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]