svn commit: r199673 - head/sys/dev/usb/controller
Andrew Thompson
thompsa at FreeBSD.org
Sun Nov 22 21:19:02 UTC 2009
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;
More information about the svn-src-head
mailing list