From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932666Ab0JQTtX (ORCPT ); Sun, 17 Oct 2010 15:49:23 -0400 Received: from casper.infradead.org ([85.118.1.10]:46316 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932540Ab0JQTtW convert rfc822-to-8bit (ORCPT ); Sun, 17 Oct 2010 15:49:22 -0400 Subject: Re: [PATCH] checkpatch: allow single space before labels From: Peter Zijlstra To: Joe Perches Cc: Mike Frysinger , Andy Whitcroft , linux-kernel@vger.kernel.org In-Reply-To: <1287344292.20968.65.camel@Joe-Laptop> References: <1287302737-3507-1-git-send-email-vapier@gentoo.org> <1287303678.20968.37.camel@Joe-Laptop> <1287310889.1998.153.camel@laptop> <1287334498.20968.53.camel@Joe-Laptop> <1287343839.1998.699.camel@laptop> <1287344292.20968.65.camel@Joe-Laptop> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Date: Sun, 17 Oct 2010 21:49:18 +0200 Message-ID: <1287344958.1998.722.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2010-10-17 at 12:38 -0700, Joe Perches wrote: > On Sun, 2010-10-17 at 21:30 +0200, Peter Zijlstra wrote: > > On Sun, 2010-10-17 at 09:54 -0700, Joe Perches wrote: > > > There are a half dozen or so in sched.c > > > > Unlike some people, I've actually got something better to do than > > whitespace patches.. they'll change next time the code in question needs > > to change. > > It takes as much time to reply as to change them. > > perl -p -i -e 's/^ (\w+):/$1:/g' kernel/sched.c If you're skilled with such things as perl I guess, me I always forget what uses which version of regexps and need to try longer to get the regex right that it would take to change a few lines by hand. Anyway, I applied it to kernel/sched*.c, thanks!