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] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 31 Oct 2008 08:24:14 +0000
From:	Andy Whitcroft <andyw@...ibm.com>
To:	Dotan Barak <dotanba@...il.com>
Cc:	linux-kernel@...r.kernel.org, apw@...dowen.org
Subject: Re: checkpatch.pl print the line twice when trailing statements in
	the same line

On Mon, Oct 20, 2008 at 08:51:38PM +0200, Dotan Barak wrote:
> Hi.
> 
> I executed checkpatch.pl version 0.24 on a file and i noticed that when
> a tailing statement is being declared at the same line with "while, checkpatch
> prints the erroneous line twice.
> 
> Here is an example of the output:
> 
> ERROR: trailing statements should be on next line
> #651: FILE: idbm.c:651:
> +               while (*nl && isspace(c = *nl)) nl++;
> +               while (*nl && isspace(c = *nl)) nl++;
> 
> Is this is the expected behavior?

No that would definintaly not be expected.  Will add it to my TODO list.

Thanks for the report.

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