[Bug 217741] PVS-Studio: V547

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 13 11:42:23 UTC 2017


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

            Bug ID: 217741
           Summary: 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 180765
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=180765&action=edit
git patch

We have found and fixed bugs 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 'cfgflags >= 0 || cfgflags <= 3' is always true. hwpmc_piv.c
812
V547 Expression 'cfgflags >= 0 || cfgflags <= 3' is always true. hwpmc_piv.c
838

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


More information about the freebsd-bugs mailing list