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>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 21 Sep 2007 15:09:41 +0200 (CEST)
From:	Jan Engelhardt <jengelh@...putergmbh.de>
To:	Andy Whitcroft <apw@...dowen.org>
cc:	Satyam Sharma <satyam@...radead.org>,
	Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: error from checkpatch.pl version 0.10


On Sep 20 2007 16:53, Andy Whitcroft wrote:
>> >   ERROR: need consistent spacing around '*' (ctx:WxV)
>> >   #2334: FILE: security/tomoyo/common.c:2306:
>> >   +static unsigned int tmy_poll(struct file *file, poll_table *wait)
>> >                                                               ^
>> 
>> Looks like a checkpatch.pl bug to me -- that was nothing to warn about.
>
>Hmm yeah this is a false positive, its hard to detect correctly.  Some
>fool decided to use * as both a unary and binary operator and made life
>very hard indeed.

The C parser has no problem with it :p
It is simple: there cannot be a binary * operator in the argument list.
-
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