[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 18:53:13 UTC 2018


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

Andriy Gapon <avg at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Closed
         Resolution|---                         |Not A Bug

--- Comment #2 from Andriy Gapon <avg at FreeBSD.org> ---
(In reply to Conrad Meyer from comment #1)
M_ZERO is even irrelevant here:
struct core_cpu {
        volatile uint32_t       pc_resync;
        volatile uint32_t       pc_iafctrl;     /* Fixed function control. */
        volatile uint64_t       pc_globalctrl;  /* Global control register. */
        struct pmc_hw           pc_corepmcs[];
};

Initial value of phw is the first element of pc_corepmcs.

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


More information about the freebsd-bugs mailing list