This is an automated email from the ASF dual-hosted git repository. pkarashchenko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 7ad74c413a7caf7701218d6913874e81a2bce297 Author: Xiang Xiao <[email protected]> AuthorDate: Wed Oct 26 11:09:52 2022 +0800 Fix chip/cxd56_icc.c:498:18: error: overlapping comparisons always evaluate to false [-Werror,-Wtautological-overlap-compare] Signed-off-by: Xiang Xiao <[email protected]> --- arch/arm/src/cxd56xx/cxd56_icc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/cxd56xx/cxd56_icc.c b/arch/arm/src/cxd56xx/cxd56_icc.c index 4f98080661..7b7624b983 100644 --- a/arch/arm/src/cxd56xx/cxd56_icc.c +++ b/arch/arm/src/cxd56xx/cxd56_icc.c @@ -495,7 +495,7 @@ int cxd56_iccsignal(int8_t cpuid, int8_t signo, int16_t sigdata, { struct iccreq_s req; - if (cpuid <= 2 && cpuid >= 7) + if (cpuid <= 2 || cpuid >= 7) { return -EINVAL; }
