[Bug 217741] sys/dev/hwpmc/hwpmc_piv.c: PVS-Studio: V547

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 8 15:47:09 UTC 2017


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

--- Comment #1 from commit-hook at freebsd.org ---
A commit references this bug:

Author: kib
Date: Tue Aug  8 15:46:30 UTC 2017
New revision: 322256
URL: https://svnweb.freebsd.org/changeset/base/322256

Log:
  Fix logic error in the the assert, causing the condition to be always true.

  Also improve the formatting of the corresponding KASSERT message.

  Based on the submission by:   Svyatoslav <razmyslov at viva64.com>
  Found by:     PVS-Studio
  PR:   217741
  Reviewed by:  emaste
  Sponsored by: The FreeBSD Foundation (kib)
  MFC after:    1 week

Changes:
  head/sys/dev/hwpmc/hwpmc_piv.c

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


More information about the freebsd-bugs mailing list