NetBSD-Bugs archive

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

kern/53206: src/sys/arch/riscv/riscv/db_machdep.c:89: bad expression ?



>Number:         53206
>Category:       kern
>Synopsis:       src/sys/arch/riscv/riscv/db_machdep.c:89: bad expression ?
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 23 12:45:00 +0000 2018
>Originator:     David Binderman
>Release:        cvs-20180418
>Organization:
>Environment:
>Description:
src/sys/arch/riscv/riscv/db_machdep.c:89] -> [src/sys/arch/riscv/riscv/db_machdep.c:89]: (style) Opposite expression on both sides of '&&'.

Source code is

     KASSERT(db_regs <= vp && vp < db_regs);

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index