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: <20090612110039.GA5650@pengutronix.de>
Date:	Fri, 12 Jun 2009 13:00:39 +0200
From:	Wolfram Sang <w.sang@...gutronix.de>
To:	linux-kernel@...r.kernel.org
Cc:	apw@...dowen.org, w.sang@...gutronix.de
Subject: checkpatch: false positives for __.*const

Hi,

init.h defines some attributes starting with '__' and ending with const, like
'__devinitconst'. They produce false positives with checkpatch:

ERROR: "fooconst bar" should be "foo const bar"
#154: FILE: drivers/uio/uio_of_genirq.c:70:
+static const struct of_device_id __devinitconst uio_of_genirq_match[] = {

like caused by this patch:

http://patchwork.kernel.org/patch/29664/

I investigated a bit but I am not sure if this should be fixed in the regexp
responsible for this error or, more general, in $Attributes.

Regards

   Wolfram

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

Download attachment "signature.asc" of type "application/pgp-signature" (198 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ