[PATCH] fwip(4) panic on attach

M. Warner Losh imp at bsdimp.com
Mon Aug 1 04:33:35 GMT 2005


In message: <42ED06D8.70506 at errno.com>
            Sam Leffler <sam at errno.com> writes:
: Christian Brueffer wrote:
: > -       bzero(fwip, sizeof(struct fwip_softc));
: I thought the softc was guaranteed to be zero'd; can't you just delete 
: the bzero?

Yes.  Softc is allocated zero'd.

Warner


More information about the freebsd-current mailing list