[Bug 229955] src/sys/dev/hwpmc/hwpmc_core.c:146]: (error) Uninitialized struct member: cc.pc_corepmcs
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jul 22 08:32:51 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229955
Bug ID: 229955
Summary: src/sys/dev/hwpmc/hwpmc_core.c:146]: (error)
Uninitialized struct member: cc.pc_corepmcs
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs at FreeBSD.org
Reporter: dcb314 at hotmail.com
Source code is
cc = malloc(sizeof(struct core_cpu) + npmc * sizeof(struct pmc_hw),
M_PMC, M_WAITOK | M_ZERO);
...
for (n = 0, phw = cc->pc_corepmcs; n < npmc; n++, phw++) {
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list