From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753948Ab3EIPFb (ORCPT ); Thu, 9 May 2013 11:05:31 -0400 Received: from mail-pb0-f50.google.com ([209.85.160.50]:61380 "EHLO mail-pb0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751592Ab3EIPFa (ORCPT ); Thu, 9 May 2013 11:05:30 -0400 Message-ID: <518BBB30.1070003@gmail.com> Date: Thu, 09 May 2013 09:05:20 -0600 From: David Ahern User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Waiman Long CC: Jiri Olsa , Arnaldo Carvalho de Melo , Stephane Eranian , Namhyung Kim , Peter Zijlstra , Paul Mackerras , Ingo Molnar , linux-kernel@vger.kernel.org, "Chandramouleeswaran, Aswin" , "Norton, Scott J" Subject: Re: [PATCH] perf: fix symbol processing bug and greatly improve performance References: <1367847833-4932-1-git-send-email-Waiman.Long@hp.com> <20130507093031.GA1076@krava.brq.redhat.com> <518A72E3.6070606@hp.com> <20130509101915.GC1628@krava.brq.redhat.com> <518BB6AF.3020003@hp.com> In-Reply-To: <518BB6AF.3020003@hp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/9/13 8:46 AM, Waiman Long wrote: > I am sorry that I forgot to rerun checkpatch.pl again after changing the > argument type from int to bool. You can edit/create .git/hooks/pre-commit and have it run checkpatch.pl so you don't forget: #!/bin/bash exec git diff --cached | scripts/checkpatch.pl --no-signoff -q - If it spits out warnings that are ok, add -n to git-commit to bypass. David