From: Ian Jackson Subject: [PATCH 2/4] libxl: CODING_STYLE: Deprecate `error' for out blocks Date: Fri, 14 Nov 2014 18:52:39 +0000 Message-ID: <1415991161-11293-3-git-send-email-ian.jackson@eu.citrix.com> References: <1415991161-11293-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1415991161-11293-1-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xensource.com Cc: Ian Jackson , Wei Liu , Ian Campbell List-Id: xen-devel@lists.xenproject.org We should have only one name for this and `out' is more prevalent. Signed-off-by: Ian Jackson --- tools/libxl/CODING_STYLE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/CODING_STYLE b/tools/libxl/CODING_STYLE index 32d058f..128cfea 100644 --- a/tools/libxl/CODING_STYLE +++ b/tools/libxl/CODING_STYLE @@ -239,7 +239,7 @@ variable that is used to hold a temporary value. Local variables used to store return values should have descriptive name like "rc" or "ret". Following the same reasoning the label used as exit -path should be called "out" or "error". +path should be called "out". Variables, type names and function names are lower_case_with_underscores. -- 1.7.10.4