From: Mike Frysinger Date: Wed, 12 Oct 2011 23:27:33 -0400 Subject: [U-Boot] [PATCH] tools: checkpatch.pl from Linux added to tools In-Reply-To: <1318383679-4594-1-git-send-email-joe.hershberger@ni.com> References: <20111009192233.80F471408775@gemini.denx.de> <1318383679-4594-1-git-send-email-joe.hershberger@ni.com> Message-ID: <201110122327.34684.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tuesday 11 October 2011 21:41:19 Joe Hershberger wrote: > --- /dev/null > +++ b/.checkpatch.conf > > +# Not Linux, so don't expect a Linux tree. > +--no-tree the only things checkpatch.pl uses $tree for, i think we want. like #include asm/foo.h instead of linux/foo.h. why do you want this ? > +# For Linux includes > +--ignore ARCH_INCLUDE_LINUX > +--ignore INCLUDE_LINUX i think these checks are good actually. we import headers from Linux all the time ... -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20111012/b895b6a4/attachment.pgp