Date: Sun, 22 Nov 2009 21:19:01 +0000 (UTC) From: Andrew Thompson <thompsa@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r199673 - head/sys/dev/usb/controller Message-ID: <200911222119.nAMLJ1rp029813@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: thompsa Date: Sun Nov 22 21:19:01 2009 New Revision: 199673 URL: http://svn.freebsd.org/changeset/base/199673 Log: Initialise variable before use. Submitted by: Hans Petter Selasky Modified: head/sys/dev/usb/controller/at91dci.c head/sys/dev/usb/controller/atmegadci.c head/sys/dev/usb/controller/avr32dci.c head/sys/dev/usb/controller/musb_otg.c head/sys/dev/usb/controller/uss820dci.c Modified: head/sys/dev/usb/controller/at91dci.c ============================================================================== --- head/sys/dev/usb/controller/at91dci.c Sun Nov 22 21:16:43 2009 (r199672) +++ head/sys/dev/usb/controller/at91dci.c Sun Nov 22 21:19:01 2009 (r199673) @@ -894,6 +894,7 @@ at91dci_setup_standard_chain(struct usb_ /* setup temp */ + temp.pc = NULL; temp.td = NULL; temp.td_next = xfer->td_start[0]; temp.offset = 0; Modified: head/sys/dev/usb/controller/atmegadci.c ============================================================================== --- head/sys/dev/usb/controller/atmegadci.c Sun Nov 22 21:16:43 2009 (r199672) +++ head/sys/dev/usb/controller/atmegadci.c Sun Nov 22 21:19:01 2009 (r199673) @@ -797,6 +797,7 @@ atmegadci_setup_standard_chain(struct us /* setup temp */ + temp.pc = NULL; temp.td = NULL; temp.td_next = xfer->td_start[0]; temp.offset = 0; Modified: head/sys/dev/usb/controller/avr32dci.c ============================================================================== --- head/sys/dev/usb/controller/avr32dci.c Sun Nov 22 21:16:43 2009 (r199672) +++ head/sys/dev/usb/controller/avr32dci.c Sun Nov 22 21:19:01 2009 (r199673) @@ -767,6 +767,7 @@ avr32dci_setup_standard_chain(struct usb /* setup temp */ + temp.pc = NULL; temp.td = NULL; temp.td_next = xfer->td_start[0]; temp.offset = 0; Modified: head/sys/dev/usb/controller/musb_otg.c ============================================================================== --- head/sys/dev/usb/controller/musb_otg.c Sun Nov 22 21:16:43 2009 (r199672) +++ head/sys/dev/usb/controller/musb_otg.c Sun Nov 22 21:19:01 2009 (r199673) @@ -1144,6 +1144,7 @@ musbotg_setup_standard_chain(struct usb_ /* setup temp */ + temp.pc = NULL; temp.td = NULL; temp.td_next = xfer->td_start[0]; temp.offset = 0; Modified: head/sys/dev/usb/controller/uss820dci.c ============================================================================== --- head/sys/dev/usb/controller/uss820dci.c Sun Nov 22 21:16:43 2009 (r199672) +++ head/sys/dev/usb/controller/uss820dci.c Sun Nov 22 21:19:01 2009 (r199673) @@ -858,6 +858,7 @@ uss820dci_setup_standard_chain(struct us /* setup temp */ + temp.pc = NULL; temp.td = NULL; temp.td_next = xfer->td_start[0]; temp.offset = 0;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911222119.nAMLJ1rp029813>