From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mout.web.de ([212.227.15.14]:56477 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751030AbaLCXMG (ORCPT ); Wed, 3 Dec 2014 18:12:06 -0500 Message-ID: <547F98A3.7090509@users.sourceforge.net> (sfid-20141204_001209_098575_F3E6E9EF) Date: Thu, 04 Dec 2014 00:11:31 +0100 From: SF Markus Elfring MIME-Version: 1.0 To: Arend van Spriel CC: Dan Carpenter , Julia Lawall , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Jonathan Corbet , OGAWA Hirofumi , Coccinelle , backports@vger.kernel.org, Johannes Berg , "Luis R. Rodriguez" Subject: Re: [patch] CodingStyle: add some more error handling guidelines References: <20141202085950.GA13434@mwanda> <547F0297.6030202@users.sourceforge.net> <20141203124511.GR5048@mwanda> <547F0977.7090908@users.sourceforge.net> <20141203132002.GT5048@mwanda> <547F0F2A.3060708@users.sourceforge.net> <547F1942.5060502@broadcom.com> <547F33AC.50002@users.sourceforge.net> <547F60E5.50705@broadcom.com> In-Reply-To: <547F60E5.50705@broadcom.com> Content-Type: text/plain; charset=windows-1252 Sender: backports-owner@vger.kernel.org List-ID: > Please provide your point of view. I would like to interpret the key word "goto" from the C programming language a bit more here so that a better common understanding can eventually be achieved. Strong opinions might be floating around for the consistent naming of jump labels. My reasoning works like the following. This key word could also be interpreted as two items "go" and "to", couldn't it? How much does this variation stress its meaning in a specific direction? Some software developers would like to express the reason about an unexpected event at the jump source. But I guess that this approach increases the risk for a popular story like "goto fail;", doesn't it? I would prefer not to specify "go to failure". So I find that there are more variants possible to stress the jump target. Examples: * Failure_exit * out_memory_release * unregister_item Regards, Markus