Re: [PATCH] perf: fix symbol processing bug and greatly improve performance

From: Waiman Long
Date: Thu May 09 2013 - 11:31:18 EST


On 05/09/2013 11:05 AM, David Ahern wrote:
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.

Thanks for the tip! I will implement that in my development environment.

Regards,
Longman
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/