# 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 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2018/12/5469576
- Thread: https://ratatoskr.run/linux-input/2018/12/5464398/t.md

```text
On Fri, Dec 21, 2018 at 4:42 PM Dmitry Torokhov
[ref] wrote:
>
> On Sat, Dec 15, 2018 at 04:08:46AM -0500, Yangtao Li wrote:
> > 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
```
