[Bug 218007] sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit.c: PVS-Studio: V547

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 22 13:42:00 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218007

            Bug ID: 218007
           Summary: sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit.c:
                    PVS-Studio: V547
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: razmyslov at viva64.com

Created attachment 181056
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=181056&action=edit
git patch

We have found and fixed a bug using PVS-Studio tool. PVS-Studio is a static
code analyzer for C, C++ and C#: https://www.viva64.com/en/pvs-studio/

Analyzer warning: V547 Expression 'value < 0' is always false. Unsigned type
value is never < 0. ar9300_xmit.c 450

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list