From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753842Ab0CCRLu (ORCPT ); Wed, 3 Mar 2010 12:11:50 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:43866 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751831Ab0CCRLs (ORCPT ); Wed, 3 Mar 2010 12:11:48 -0500 Date: Wed, 3 Mar 2010 09:10:46 -0800 (PST) From: Linus Torvalds X-X-Sender: torvalds@localhost.localdomain To: Wu Fengguang cc: "H. Peter Anvin" , "H. Peter Anvin" , Ingo Molnar , Thomas Gleixner , Linux Kernel Mailing List , Sachin Sant , KAMEZAWA Hiroyuki , Ian Campbell , Alok Kataria , Jeremy Fitzhardinge , =?ISO-8859-15?Q?Pasi_K=E4rkk=E4inen?= Subject: Re: [GIT PULL] x86/mm fixes In-Reply-To: <20100303020845.GD6477@localhost> Message-ID: References: <201003020010.o220Ax3Z025848@hera.kernel.org> <4B8D67A4.8080602@zytor.com> <20100303020845.GD6477@localhost> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 3 Mar 2010, Wu Fengguang wrote: > > Anyway I just hacked /usr/share/quilt/refresh to automatically run the > kernel style checker: > > # wfg: check for kernel coding style > if [ -x scripts/checkpatch.pl ]; then > scripts/checkpatch.pl $patch_file > fi It's probably sensible to check things, but do remember that some of the things checkpatch warns about are better left the way they are, rather than make the code uglier just to make checkpatch happy. Linus