[U-Boot] [drivers/usb/musb-new/musb_core.c:2166]: (error) Uninitialized variable: musb

2014-11-06 Thread Wolfgang Denk
Hello,

cppcheck reports:

[drivers/usb/musb-new/musb_core.c:2166]: (error) Uninitialized
variable: musb
[drivers/usb/musb-new/musb_host.c:1918]: (error) Uninitialized
variable: idle


can you please have a look?  Thanks!


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
Be wiser than other people if you can, but do not tell them so.
   -- Philip Earl of Chesterfield
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [drivers/usb/musb-new/musb_core.c:2166]: (error) Uninitialized variable: musb

2014-11-06 Thread Marek Vasut
On Thursday, November 06, 2014 at 01:36:22 PM, Wolfgang Denk wrote:
 Hello,

Hi,

 cppcheck reports:
 
 [drivers/usb/musb-new/musb_core.c:2166]: (error) Uninitialized
 variable: musb
 [drivers/usb/musb-new/musb_host.c:1918]: (error) Uninitialized
 variable: idle
 
 
 can you please have a look?  Thanks!

CC Tom.

On a related note, we have two MUSB drivers in U-Boot. Which one
is used and which one is not ? Can we get rid of one of those ?

Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot