]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r280388 (by benno): Be consistent with M_ZERO when allocating ccbs.
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 5 Oct 2015 07:36:16 +0000 (07:36 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 5 Oct 2015 07:36:16 +0000 (07:36 +0000)
commit75a67f7a4b53c8ae9308bc88a986d082c1d37d03
treedf6d4a5a71c7c0bdd60759a9c11f017deccf5a80
parentd09569f8017cbd9e2781365da030ab24f3468afb
MFC r280388 (by benno): Be consistent with M_ZERO when allocating ccbs.

There are four places, all in cam_xpt.c, where ccbs are malloc'ed. Two of
these use M_ZERO, two don't. The two that don't meant that allocated ccbs
had trash in them making it hard to debug errors where they showed up. Due
to this, use M_ZERO all the time when allocating ccbs.

git-svn-id: svn://svn.freebsd.org/base/stable/10@288700 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cam/cam_xpt.c