CHROMIUM: kbuild: clang: Disable the 'duplicate-decl-specifier' warning
authorMatthias Kaehlcke <mka@chromium.org>
Fri, 21 Apr 2017 21:04:28 +0000 (14:04 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 18 Dec 2017 15:41:22 +0000 (21:11 +0530)
commit4cd9453d6ac3febdc73907582e7fdd6d5349d0e3
tree1dc86ba1f35b3171269b0506e507f369da11d255
parent44ffc07716e586bb5d812ea1f65822c9215d7bfa
CHROMIUM: kbuild: clang: Disable the 'duplicate-decl-specifier' warning

clang generates plenty of these warnings in different parts of the code.
They are mostly caused by container_of() and other macros which declare
a "const <type> *" variable for their internal use which triggers a
"duplicate 'const' specifier" warning if the <type> is already const
qualified.

Change-Id: I3ad9d33e31b7b40f926554eed2afeea1ebb7e961
Wording-mostly-from: Michael Davidson <md@google.com>
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Makefile