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]
Message-ID: <1336060376.13866.6.camel@joe2Laptop>
Date:	Thu, 03 May 2012 08:52:56 -0700
From:	Joe Perches <joe@...ches.com>
To:	Eric Nelson <eric.nelson@...ndarydevices.com>
Cc:	linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org,
	u-boot@...ts.denx.de, rylv50@...escale.com, marex@...x.de,
	vapier@...too.org
Subject: Re: [PATCH] checkpatch: add check for whitespace before semicolon
 at end-of-line

On Thu, 2012-05-03 at 06:41 -0700, Eric Nelson wrote:
> >> +# check for whitespace before semicolon - not allowed at end-of-line
> >> +		if ($line =~ /\s+;$/) {
> >
> > 		if ($line =~ /\s+;\s*$/)

> Won't the extra space at end of line be caught by other tests?

Yes it will.

You want the test to find the space before semicolon
whenever it exists.


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