From: Ian Jackson Subject: Re: [PATCH RFC] scripts: add checkpatch.pl script Date: Thu, 10 May 2012 17:41:01 +0100 Message-ID: <20395.61341.793000.935045@mariner.uk.xensource.com> References: <1336654013-12457-1-git-send-email-roger.pau@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1336654013-12457-1-git-send-email-roger.pau@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: Roger Pau Monne Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Roger Pau Monne writes ("[Xen-devel] [PATCH RFC] scripts: add checkpatch.pl script"): > This script is a copy from the QEMU one, wich is itself a copy from > the Linux kernel one (as far as I can tell). > > This script will only check for parts of the patches that touch libxl > files, and I've adapted it to match our CODING_STYLE a little bit, > major differences include the following: Thanks. I'm not going to review the actual Perl code here :-) but I might try it out on some examples. But shouldn't this go in tools/libxl ? I think trying to have a single checkpatch for the whole tree is doomed and the clone and hack is acceptable here I think. Ian.