Re: [PATCH][RFC] Removing wrong judgement of checkpatch.pl forreturn as function

From: Andy Whitcroft
Date: Thu Nov 12 2009 - 07:49:55 EST


On Sat, Nov 07, 2009 at 10:14:29AM +0900, Hitoshi Mitake wrote:

> Yes, I post the patch triggered the error I mentioned to lkml recently.
> I'm attaching the patch the tail of this mail.

> + return (pthread_t)0;

Ahh, now I see how this could occur. My test case has a variable where
this has a 0. I think I've fixed this. Could you test with the version
at the URL below (it may take a little time to replicate):

http://www.kernel.org/pub/linux/kernel/people/apw/checkpatch/checkpatch.pl-testing

Thanks.

-apw
--
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/