public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [drivers/usb/musb-new/musb_core.c:2166]: (error) Uninitialized variable: musb
@ 2014-11-06 12:36 Wolfgang Denk
  2014-11-06 13:30 ` Marek Vasut
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Denk @ 2014-11-06 12:36 UTC (permalink / raw)
  To: u-boot

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 at denx.de
Be wiser than other people if you can, but do not tell them so.
                                       -- Philip Earl of Chesterfield

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] [drivers/usb/musb-new/musb_core.c:2166]: (error) Uninitialized variable: musb
  2014-11-06 12:36 [U-Boot] [drivers/usb/musb-new/musb_core.c:2166]: (error) Uninitialized variable: musb Wolfgang Denk
@ 2014-11-06 13:30 ` Marek Vasut
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Vasut @ 2014-11-06 13:30 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-06 13:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-06 12:36 [U-Boot] [drivers/usb/musb-new/musb_core.c:2166]: (error) Uninitialized variable: musb Wolfgang Denk
2014-11-06 13:30 ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox