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

Marek Vasut marex at denx.de
Thu Nov 6 14:30:41 CET 2014


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


More information about the U-Boot mailing list