Re: [checkpatch] - Confusion

From: Joe Perches
Date: Wed Jun 12 2013 - 00:48:35 EST


On Tue, 2013-06-11 at 21:15 -0700, Joe Perches wrote:

> > typedef struct ctl_table ctl_table; (include/linux/sysctl.h)
> > is not correctly picked up by checkpatch.
>
> checkpatch isn't a c compiler.
> It assumes any <foo>_t is a typedef.
>
> > So, I assume this actually is a false positive.
>
> Yup.

Another option is to use "struct ctl_table" instead of bare ctl_table.


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