-Wlogical-op prevents common errors with using numerical constants where a boolean one is expected as well as when the operands of a logical operator are the same. While these are perfectly valid behavior, they can be a sign that something is slightly off. This patch adds this warning to gcc and it's closest equivalent to clang, while also fixing any warnings that enabling them causes. Change-Id: Iabadfc1e6ee0c44eef6685a23b0aed8abef8ce89 Signed-off-by: Justin Chadwell <justin.chadwell@arm.com> |
||
---|---|---|
.. | ||
aarch64 | ||
include | ||
ipi_mailbox_service | ||
pm_service | ||
tsp | ||
bl31_zynqmp_setup.c | ||
plat_psci.c | ||
plat_startup.c | ||
plat_topology.c | ||
plat_zynqmp.c | ||
platform.mk | ||
sip_svc_setup.c | ||
zynqmp_ipi.c |