NetBSD-Bugs archive

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

port-evbarm/50526: src/sys/arch/evbarm/stand/boot2440/s3csdi.c:93: bad expression ?



>Number:         50526
>Category:       port-evbarm
>Synopsis:       src/sys/arch/evbarm/stand/boot2440/s3csdi.c:93: bad expression ?
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-evbarm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 11 09:50:00 +0000 2015
>Originator:     David Binderman
>Release:        cvs dated 20151210
>Organization:
>Environment:
>Description:
[src/sys/arch/evbarm/stand/boot2440/s3csdi.c:93]: (style) Expression '(X & 0x100) == 0x1' is always false.

    if ( (data & (1<<8)) == 1) {

Wrong code on initial inspection. Suggest code rework.

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index