NetBSD-Bugs archive

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

kern/50533: src/sys/dev/marvell/mvspi.c:268: bad if test ?



>Number:         50533
>Category:       kern
>Synopsis:       src/sys/dev/marvell/mvspi.c:268: bad if test ?
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 11 10:45:00 +0000 2015
>Originator:     David Binderman
>Release:        cvs dated 20151210
>Organization:
>Environment:
>Description:
[src/sys/dev/marvell/mvspi.c:268]: (warning) Logical conjunction always evaluates to false: EXPR < 0 && EXPR > 7.

    if (sc->sc_transfer->st_slave < 0 && sc->sc_transfer->st_slave > 7) {

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index