Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jul 2018 08:32:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 229955] src/sys/dev/hwpmc/hwpmc_core.c:146]: (error) Uninitialized struct member: cc.pc_corepmcs
Message-ID:  <bug-229955-227@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: dcb314@hotmail.com

Source code is

        cc =3D malloc(sizeof(struct core_cpu) + npmc * sizeof(struct pmc_hw=
),
            M_PMC, M_WAITOK | M_ZERO);

        ...

        for (n =3D 0, phw =3D cc->pc_corepmcs; n < npmc; n++, phw++) {

--=20
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-229955-227>