diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-11-22 21:19:01 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-11-22 21:19:01 +0000 |
commit | 842fc84bcb787cf259b61a44cd3c4771485650f4 (patch) | |
tree | 64247fad824b4b1f7f96da3a43c2967412088cdd /sys | |
parent | 87194982c0d82d711579a618a553c5d555599700 (diff) | |
download | FreeBSD-src-842fc84bcb787cf259b61a44cd3c4771485650f4.zip FreeBSD-src-842fc84bcb787cf259b61a44cd3c4771485650f4.tar.gz |
Initialise variable before use.
Submitted by: Hans Petter Selasky
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/usb/controller/at91dci.c | 1 | ||||
-rw-r--r-- | sys/dev/usb/controller/atmegadci.c | 1 | ||||
-rw-r--r-- | sys/dev/usb/controller/avr32dci.c | 1 | ||||
-rw-r--r-- | sys/dev/usb/controller/musb_otg.c | 1 | ||||
-rw-r--r-- | sys/dev/usb/controller/uss820dci.c | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/usb/controller/at91dci.c b/sys/dev/usb/controller/at91dci.c index d9f8e40..fc0db86 100644 --- a/sys/dev/usb/controller/at91dci.c +++ b/sys/dev/usb/controller/at91dci.c @@ -894,6 +894,7 @@ at91dci_setup_standard_chain(struct usb_xfer *xfer) /* setup temp */ + temp.pc = NULL; temp.td = NULL; temp.td_next = xfer->td_start[0]; temp.offset = 0; diff --git a/sys/dev/usb/controller/atmegadci.c b/sys/dev/usb/controller/atmegadci.c index a864c57..1ee8423 100644 --- a/sys/dev/usb/controller/atmegadci.c +++ b/sys/dev/usb/controller/atmegadci.c @@ -797,6 +797,7 @@ atmegadci_setup_standard_chain(struct usb_xfer *xfer) /* setup temp */ + temp.pc = NULL; temp.td = NULL; temp.td_next = xfer->td_start[0]; temp.offset = 0; diff --git a/sys/dev/usb/controller/avr32dci.c b/sys/dev/usb/controller/avr32dci.c index f251f91..36980ad 100644 --- a/sys/dev/usb/controller/avr32dci.c +++ b/sys/dev/usb/controller/avr32dci.c @@ -767,6 +767,7 @@ avr32dci_setup_standard_chain(struct usb_xfer *xfer) /* setup temp */ + temp.pc = NULL; temp.td = NULL; temp.td_next = xfer->td_start[0]; temp.offset = 0; diff --git a/sys/dev/usb/controller/musb_otg.c b/sys/dev/usb/controller/musb_otg.c index 60d29dd..e811cae 100644 --- a/sys/dev/usb/controller/musb_otg.c +++ b/sys/dev/usb/controller/musb_otg.c @@ -1144,6 +1144,7 @@ musbotg_setup_standard_chain(struct usb_xfer *xfer) /* setup temp */ + temp.pc = NULL; temp.td = NULL; temp.td_next = xfer->td_start[0]; temp.offset = 0; diff --git a/sys/dev/usb/controller/uss820dci.c b/sys/dev/usb/controller/uss820dci.c index 62fa8df..fe14d51 100644 --- a/sys/dev/usb/controller/uss820dci.c +++ b/sys/dev/usb/controller/uss820dci.c @@ -858,6 +858,7 @@ uss820dci_setup_standard_chain(struct usb_xfer *xfer) /* setup temp */ + temp.pc = NULL; temp.td = NULL; temp.td_next = xfer->td_start[0]; temp.offset = 0; |