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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to