aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2019-12-16 09:22:56 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2019-12-16 09:22:56 +0000
commit255b380afa17f1c38255d19a064fe4d26ea5025f (patch)
tree72986dd93c83b1263906018d0541845aefc1f050
parentef771a4d0dc7df042cf0fcbe0f763fd777b21eec (diff)
parent11a96e0ea04f4b2c53e6431f690d7912bb645552 (diff)
downloadplatform_external_arm-trusted-firmware-255b380afa17f1c38255d19a064fe4d26ea5025f.tar.gz
platform_external_arm-trusted-firmware-255b380afa17f1c38255d19a064fe4d26ea5025f.tar.bz2
platform_external_arm-trusted-firmware-255b380afa17f1c38255d19a064fe4d26ea5025f.zip
Merge "Remove -Wpadded warning" into integration
-rw-r--r--Makefile1
-rw-r--r--docs/process/security-hardening.rst7
2 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ef3ee4b53..b9584ca98 100644
--- a/Makefile
+++ b/Makefile
@@ -261,7 +261,6 @@ WARNING3 := -Wbad-function-cast
WARNING3 += -Wcast-qual
WARNING3 += -Wconversion
WARNING3 += -Wpacked
-WARNING3 += -Wpadded
WARNING3 += -Wpointer-arith
WARNING3 += -Wredundant-decls
WARNING3 += -Wswitch-default
diff --git a/docs/process/security-hardening.rst b/docs/process/security-hardening.rst
index 49678719f..a18a79203 100644
--- a/docs/process/security-hardening.rst
+++ b/docs/process/security-hardening.rst
@@ -30,9 +30,8 @@ Several build options can be used to check for security issues. Refer to the
- W=1
- Adds ``Wextra``, ``Wmissing-declarations``, ``Wmissing-format-attribute``,
- ``Wmissing-prototypes``, ``Wold-style-definition`` and
- ``Wunused-const-variable``.
+ Adds ``Wextra``, ``Wmissing-format-attribute``, ``Wmissing-prototypes``,
+ ``Wold-style-definition`` and ``Wunused-const-variable``.
- W=2
@@ -42,7 +41,7 @@ Several build options can be used to check for security issues. Refer to the
- W=3
Adds ``Wbad-function-cast``, ``Wcast-qual``, ``Wconversion``, ``Wpacked``,
- ``Wpadded``, ``Wpointer-arith``, ``Wredundant-decls`` and
+ ``Wpointer-arith``, ``Wredundant-decls`` and
``Wswitch-default``.
Refer to the GCC or Clang documentation for more information on the individual