Searched hist:d7b4cd4111ab4cfde60f693a789a290870c02035 (Results 1 – 3 of 3) sorted by relevance
| /rk3399_ARM-atf/drivers/mentor/i2c/ |
| H A D | mi2cv.c | d7b4cd4111ab4cfde60f693a789a290870c02035 Wed Sep 18 13:13:42 UTC 2019 Justin Chadwell <justin.chadwell@arm.com> Enable -Wlogical-op always
-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>
|
| /rk3399_ARM-atf/plat/xilinx/zynqmp/pm_service/ |
| H A D | pm_api_ioctl.c | d7b4cd4111ab4cfde60f693a789a290870c02035 Wed Sep 18 13:13:42 UTC 2019 Justin Chadwell <justin.chadwell@arm.com> Enable -Wlogical-op always
-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>
|
| /rk3399_ARM-atf/ |
| H A D | Makefile | d7b4cd4111ab4cfde60f693a789a290870c02035 Wed Sep 18 13:13:42 UTC 2019 Justin Chadwell <justin.chadwell@arm.com> Enable -Wlogical-op always
-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>
|