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

6 Nov
2014
6 Nov
'14
1:36 p.m.
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: wd@denx.de
Be wiser than other people if you can, but do not tell them so.
-- Philip Earl of Chesterfield

6 Nov
6 Nov
2:30 p.m.
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
3843
Age (days ago)
3843
Last active (days ago)
1 comments
2 participants
participants (2)
-
Marek Vasut
-
Wolfgang Denk