Re: [PATCH] serial/sunsu: add missing of_node_put()

2018-12-02 Thread David Miller
From: Yangtao Li Date: Wed, 21 Nov 2018 11:06:15 -0500 > of_find_node_by_path() acquires a reference to the node > returned by it and that reference needs to be dropped by its caller. > This place is not doing this, so fix it. > > Signed-off-by: Yangtao Li Several coding style problems and

Re: [PATCH] serial/sunsu: add missing of_node_put()

2018-12-02 Thread David Miller
From: Yangtao Li Date: Wed, 21 Nov 2018 11:06:15 -0500 > of_find_node_by_path() acquires a reference to the node > returned by it and that reference needs to be dropped by its caller. > This place is not doing this, so fix it. > > Signed-off-by: Yangtao Li Several coding style problems and