mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* False positive in checkpatch on pointers to typedefs?
@ 2008-11-16  8:42 Dotan Barak
  0 siblings, 0 replies; only message in thread
From: Dotan Barak @ 2008-11-16  8:42 UTC (permalink / raw)
  To: apw; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-16  8:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-16  8:42 False positive in checkpatch on pointers to typedefs? Dotan Barak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®