NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/50692: src/sys/dev/ic/atw.c:991: possible bad bitmask ?
>Number: 50692
>Category: kern
>Synopsis: src/sys/dev/ic/atw.c:991: possible bad bitmask ?
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 22 17:10:00 +0000 2016
>Originator: David Binderman
>Release: cvs dated 20160121
>Organization:
>Environment:
>Description:
[src/sys/dev/ic/atw.c:991] -> [src/sys/dev/ic/atw.c:991]: (style) Same expression on both sides of '|'.
Source code is
wcsr &= ~(ATW_WCSR_BLN_MASK|ATW_WCSR_LSOE|ATW_WCSR_MPRE|ATW_WCSR_LSOE);
Suggest either remove the duplicate or use different macro value.
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index