Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2005 16:14:36 +0200
From:      Christian Brueffer <chris@unixpages.org>
To:        current@freebsd.org
Subject:   Pending if_fwip.c patch
Message-ID:  <20050817141436.GB1143@unixpages.org>

next in thread | raw e-mail | index | archive | help

--Sr1nOIr3CvdE5hEN
Content-Type: multipart/mixed; boundary="aM3YZ0Iwxop3KEKx"
Content-Disposition: inline


--aM3YZ0Iwxop3KEKx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

can someone commit the attached patch for if_fwip.c?  It fixes a panic
on attach and has been reviewed by dfr@.

- Christian

--=20
Christian Brueffer	chris@unixpages.org	brueffer@FreeBSD.org
GPG Key:	 http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D

--aM3YZ0Iwxop3KEKx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="if_fwip.c.diff"
Content-Transfer-Encoding: quoted-printable

Index: if_fwip.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /data/ncvs/freebsd/src/sys/dev/firewire/if_fwip.c,v
retrieving revision 1.7
diff -u -r1.7 if_fwip.c
--- if_fwip.c	10 Jun 2005 16:49:08 -0000	1.7
+++ if_fwip.c	5 Aug 2005 12:45:46 -0000
@@ -175,7 +175,6 @@
 	if (ifp =3D=3D NULL)
 		return (ENOSPC);
=20
-	bzero(fwip, sizeof(struct fwip_softc));
 	/* XXX */
 	fwip->dma_ch =3D -1;
=20

--aM3YZ0Iwxop3KEKx--

--Sr1nOIr3CvdE5hEN
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFDA0ZLbHYXjKDtmC0RAignAJ9eDlEOIhSyayLfLGe5q8ij7PObagCdEYUE
5m+zvDM96yKuZ3Anq6xPG4E=
=9jDF
-----END PGP SIGNATURE-----

--Sr1nOIr3CvdE5hEN--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050817141436.GB1143>