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-next>] [day] [month] [year] [list]
Date:	Thu, 22 Dec 2011 19:39:29 +0100
From:	Marco Navarra <fromenglish@...il.com>
To:	Andy Whitcroft <apw@...onical.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Checkpatch possible false positive

Hello

after running checkpatch on some files, it returns "ERROR: Macros with
complex values should be enclosed in parenthesis" while processing
code like this:
#define SOMEVALUE 'x'

It happens on agpgart.h, checkpatch complains about line 30 that
corresponds to:
#define AGPIOC_BASE       'A'
Running it on elf.h returns the same error on these lines
#define ELFMAG1         'E'
#define ELFMAG2         'L'
#define ELFMAG3         'F'

Do you think this could be a false positive?
The tree is linux-next and checkaptch version is 0.32


Thank you                                                                      
Marco
--
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