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