Re: [PATCH 3/3] checkpatch.pl: Add check for current->commreferences
From: David Rientjes
Date: Mon May 16 2011 - 17:23:24 EST
On Fri, 13 May 2011, Michal Nazarewicz wrote:
> On Fri, 13 May 2011 08:33:39 +0200, Jiri Slaby wrote:
> > This should be something like \b(current|task|tsk|t)->comm\b to catch
> > also non-current comm accesses...
> Or \b(?:current|task|tsk|t)\s*->\s*comm\b.
Add 'p' to the mix :)
$ grep -r "struct task_struct \*p[; ]" * | wc -l
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/