False positive in checkpatch on pointers to typedefs?

From: Dotan Barak
Date: Sun Nov 16 2008 - 03:42:21 EST


Hi.

Executing checkpatch version 0.24 of the following c program produces
the following error message:

ERROR: need consistent spacing around '*' (ctx:WxV)
#7: FILE: dotan.c:7:
+ my_int *time_arr[SIZE];


<code start>
#define SIZE 10

typedef int my_int;

int main()
{
my_int *time_arr[SIZE];

return 0;
}
<code end>


I can't find anything wrong in this C code.

Can you please check this issue?

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