From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus Elfring Subject: Re: [v3] ARM: rockchip: Fix a leaked reference by adding of_node_put() in two functions Date: Sun, 28 Apr 2019 12:52:51 +0200 Message-ID: <43884c4b-8146-9a35-ae5d-40ab17a4a04c@web.de> References: <1556262488-21072-1-git-send-email-wen.yang99@zte.com.cn> <2816348.laE8LpYbrI@phil> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <2816348.laE8LpYbrI@phil> Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+glpar-linux-rockchip=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: Heiko Stuebner , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org Cc: Yi Wang , Russell King , Florian Fainelli , Wen Yang , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-rockchip.vger.kernel.org >> How do you think about to adjust the exception handling in these function >> implementations a bit more according to the Linux coding style >> (so that the addition of duplicate function calls would be avoided)? > > I actually requested not doing wild gotos for of_node_put calls, > as it makes the code harder to read, especially when the "node" > gets reused for a different node-source. Does this feedback mean that you insist on another deviation from the Linux coding style? Regards, Markus