NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-arm/53159: src/sys/arch/aarch64/include/db_machdep.h:132suspicious compare ?



>Number:         53159
>Category:       port-arm
>Synopsis:       src/sys/arch/aarch64/include/db_machdep.h:132suspicious compare ?
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-arm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 05 18:15:00 +0000 2018
>Originator:     David Binderman
>Release:        cvs-20180405
>Organization:
>Environment:
>Description:
src/sys/arch/aarch64/include/db_machdep.h:132]: (style) Expression '(X & 0xffe00c00) != 0x3ca00c80' is always true.


Source code is

      (((insn) & 0xffe00c00) != 0x3ca00c80)) || /* register offset */

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index