projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56e9406
)
USB: r8a66597-udc: Initialize uninitialized variable, fix compile warning
author
Javier Martinez Canillas
<
[email protected]
>
Fri, 10 Sep 2010 12:42:08 +0000
(08:42 -0400)
committer
Greg Kroah-Hartman
<
[email protected]
>
Fri, 22 Oct 2010 17:21:34 +0000
(10:21 -0700)
In today linux-next I got a compile warning due a possible uninitialized variable
This patch solves the issue initializing the variable
Signed-off-by: Javier Martinez Canillas <
[email protected]
>
Cc: David Brownell <
[email protected]
>
Cc: Paul Mundt <
[email protected]
>
Cc: Magnus Damm <
[email protected]
>
Cc: Yoshihiro Shimoda <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/usb/gadget/r8a66597-udc.h
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/r8a66597-udc.h
b/drivers/usb/gadget/r8a66597-udc.h
index f763b5190afa2dfafb65c9b98da0ff9e62fcd7a4..5fc22e09a0f15b5735353de61bfd7daf40a3362a 100644
(file)
--- a/
drivers/usb/gadget/r8a66597-udc.h
+++ b/
drivers/usb/gadget/r8a66597-udc.h
@@
-136,7
+136,7
@@
static inline void r8a66597_read_fifo(struct r8a66597 *r8a66597,
int len)
{
void __iomem *fifoaddr = r8a66597->reg + offset;
- unsigned int data;
+ unsigned int data
= 0
;
int i;
if (r8a66597->pdata->on_chip) {