From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Subject: Re: [PATCH v2 0/6] net-PPP: Deletion of a few unnecessary checks Date: Sat, 20 Dec 2014 15:45:32 +0100 Message-ID: <54958B8C.7010105@users.sourceforge.net> References: <548B1E44.6050005@users.sourceforge.net> <20141212.115922.687789059853236747.davem@davemloft.net> <54930D7C.3000901@users.sourceforge.net> <20141218.122556.2148647081075440879.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: Sergei Shtylyov , Paul Mackerras , linux-ppp@vger.kernel.org, netdev@vger.kernel.org, Eric Dumazet , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Julia Lawall To: David Miller Return-path: Received: from mout.web.de ([212.227.17.12]:52206 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752803AbaLTOpi (ORCPT ); Sat, 20 Dec 2014 09:45:38 -0500 In-Reply-To: <20141218.122556.2148647081075440879.davem@davemloft.net> Sender: netdev-owner@vger.kernel.org List-ID: > I'm saying to leave the code alone. Do I need to try another interpretation out for your feedback? > If it goes: > > var = foo_that_returns_ptr_err() > if (IS_ERR(var)) > return PTR_ERR(var); > > p->bar = var; > > or whatever, simply keep it that way! Do you want to express here that a data structure member should only be set after a previous function call succeeded? > I'm not engaging in this conversation any further, you have > already consumed way too much of my limited time on this > incredibly trivial matter. I hope that you will find a bit time and patience again to clarify affected implementation details in a safer and unambiguous way. Regards, Markus