Re: [PATCH v5] Input: i8042 add i8042_is_mr_coffee() helper to avoid refconut leak

From
Frank Lee <tiny.windzz@gmail.com>
Date
2018-12-21 14:45:46
Also in
lkml
Reply to
Dmitry Torokhov, 2018-12-21
On Fri, Dec 21, 2018 at 4:42 PM Dmitry Torokhov
[off-list ref] wrote:
On Sat, Dec 15, 2018 at 04:08:46AM -0500, Yangtao Li wrote:
quoted
of_find_node_by_path() acquires a reference to the node returned by
it and that reference needs to be dropped by its caller. Add
i8042_is_mr_coffee() helper to avoid refconut leak.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
changes in v5:
-fix typo
Has this at least been actually compiled by you?
Sure!!!
On ubuntu 18 machine.

MBR,
Yangtao
Thread (4 messages) 4 messages, 3 authors, last reply 2018-12-27
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help