lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2f3bf9a60811160042h77ab2a5dh1bd479dc9707f682@mail.gmail.com>
Date:	Sun, 16 Nov 2008 10:42:09 +0200
From:	"Dotan Barak" <dotanba@...il.com>
To:	apw@...ibm.com
Cc:	linux-kernel@...r.kernel.org
Subject: False positive in checkpatch on pointers to typedefs?

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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ