svn commit: r297913 - in head/sys/dev/hyperv: netvsc storvsc
Hans Petter Selasky
hps at selasky.org
Wed Apr 13 09:25:03 UTC 2016
On 04/13/16 11:20, Sepherosa Ziehau wrote:
> bzero(sc, sizeof(hn_softc_t));
Hi,
According to:
> https://svnweb.freebsd.org/base/head/sys/kern/subr_bus.c?revision=297776&view=markup#l2763
It is safe to assume that the memory you get is already zero'ed.
The additional bzero() in your attach routine seems redundant.
--HPS
More information about the svn-src-head
mailing list