Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 2015 08:31:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 200985] sys/dev/hwpmc/hwpmc_piv.c:812: bad assert ?
Message-ID:  <bug-200985-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200985

            Bug ID: 200985
           Summary: sys/dev/hwpmc/hwpmc_piv.c:812: bad assert ?
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: dcb314@hotmail.com

sys/dev/hwpmc/hwpmc_piv.c:812]: (warning) Logical disjunction always evaluates
to true: cfgflags >= 0 || cfgflags <= 3

   KASSERT(cfgflags >= 0 || cfgflags <= 3,

Maybe

   KASSERT(cfgflags >= 0 && cfgflags <= 3,

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200985-8>