USB: r8a66597-udc: Initialize uninitialized variable, fix compile warning
PATCH 1/1 USB: r8a66597-udc: Initialize uninitialized variable, fix compile warning
In today linux-next I got a compile warning due a possible uninitialized variable
This patch solves the issue initializing the variable
Thanks a lot
Signed-off-by Javier Martinez Canillas <[email protected]>
--- drivers/usb/gadget/r8a66597-udc.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/usb/gadget/r8a66597-udc.h +1 -1
@@ -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) {
Signature · 1 line
1.7.0.4