From: Ian Jackson Subject: [PATCH 4/4] libxl: CODING_STYLE: Discuss existing style problems Date: Wed, 5 Nov 2014 14:43:50 +0000 Message-ID: <1415198630-29937-5-git-send-email-ian.jackson@eu.citrix.com> References: <1415198630-29937-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: <1415198630-29937-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.campbell@eu.citrix.com, Ian Jackson , stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org Document that: - the existing code is not all confirming yet - code should conform - we will sometimes accept patches with nonconforming elements if they don't make matters worse. Signed-off-by: Ian Jackson --- tools/libxl/CODING_STYLE | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tools/libxl/CODING_STYLE b/tools/libxl/CODING_STYLE index 68d769d..c836f3c 100644 --- a/tools/libxl/CODING_STYLE +++ b/tools/libxl/CODING_STYLE @@ -2,6 +2,21 @@ LIBXENLIGHT CODING STYLE ======================== +AN APOLOGY AND WARNING +---------------------- + +Much of the code in libxl does not yet follow this coding style +document in every respect. However, new code is expected to conform. + +Patches to improve the style of existing code are welcome. Please +separate these out from functional changes. + +If it is not feasible to conform fully to the style while patching old +code, without doing substantial style reengineering first, we may +accept patches which contain nonconformant elements, provided that +they don't make the coding style problem worse overall. + + MEMORY ALLOCATION ----------------- -- 1.7.10.4