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

From: Pavel Machek
Date: Thu Dec 27 2018 - 17:43:56 EST


On Sat 2018-12-15 04:08:46, 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.

refconut->refcount, here and in subject.
Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature