Skip to contentSkip to conversation

: (error) Uninitialized variable: musb

U-Boot Wolfgang Denk 2 participants 2 messages Nov 6, 2014

lore
Share & tools
lore
#0 lore raw

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

Signature · 5 lines
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: wd at denx.de
Be wiser than other people if you can, but do not tell them so.
                                       -- Philip Earl of Chesterfield
#1 lore raw
Quoted 1 line · Wolfgang Denk

Hello,

Hi,

Quoted 9 lines

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