Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Dec 2009 22:38:03 +0000 (UTC)
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r200329 - stable/8/sys/dev/usb/controller
Message-ID:  <200912092238.nB9Mc3vO042039@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thompsa
Date: Wed Dec  9 22:38:02 2009
New Revision: 200329
URL: http://svn.freebsd.org/changeset/base/200329

Log:
  MFC r199673
  
   Initialise variable before use.
  
  Submitted by:	Hans Petter Selasky

Modified:
  stable/8/sys/dev/usb/controller/at91dci.c
  stable/8/sys/dev/usb/controller/atmegadci.c
  stable/8/sys/dev/usb/controller/avr32dci.c
  stable/8/sys/dev/usb/controller/musb_otg.c
  stable/8/sys/dev/usb/controller/uss820dci.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/dev/usb/controller/at91dci.c
==============================================================================
--- stable/8/sys/dev/usb/controller/at91dci.c	Wed Dec  9 22:37:06 2009	(r200328)
+++ stable/8/sys/dev/usb/controller/at91dci.c	Wed Dec  9 22:38:02 2009	(r200329)
@@ -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: stable/8/sys/dev/usb/controller/atmegadci.c
==============================================================================
--- stable/8/sys/dev/usb/controller/atmegadci.c	Wed Dec  9 22:37:06 2009	(r200328)
+++ stable/8/sys/dev/usb/controller/atmegadci.c	Wed Dec  9 22:38:02 2009	(r200329)
@@ -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: stable/8/sys/dev/usb/controller/avr32dci.c
==============================================================================
--- stable/8/sys/dev/usb/controller/avr32dci.c	Wed Dec  9 22:37:06 2009	(r200328)
+++ stable/8/sys/dev/usb/controller/avr32dci.c	Wed Dec  9 22:38:02 2009	(r200329)
@@ -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: stable/8/sys/dev/usb/controller/musb_otg.c
==============================================================================
--- stable/8/sys/dev/usb/controller/musb_otg.c	Wed Dec  9 22:37:06 2009	(r200328)
+++ stable/8/sys/dev/usb/controller/musb_otg.c	Wed Dec  9 22:38:02 2009	(r200329)
@@ -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: stable/8/sys/dev/usb/controller/uss820dci.c
==============================================================================
--- stable/8/sys/dev/usb/controller/uss820dci.c	Wed Dec  9 22:37:06 2009	(r200328)
+++ stable/8/sys/dev/usb/controller/uss820dci.c	Wed Dec  9 22:38:02 2009	(r200329)
@@ -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?200912092238.nB9Mc3vO042039>