From: "Markus Klotzbücher" <mk@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] MPC5xxx: fix some compiler warnings in USB code
Date: Thu, 23 Aug 2007 18:25:46 +0200 [thread overview]
Message-ID: <87wsvm8bg5.fsf@denx.de> (raw)
In-Reply-To: <20070821102751.5636.68943.stgit@tq-sewsrv-4.tq-net.de> (Martin Krause's message of "Tue, 21 Aug 2007 12:40:34 +0200")
Hi Martin,
Martin Krause <martin.krause@tqs.de> writes:
> Fix the following warnings:
> - usb.c:xx: warning: function declaration isn't a prototype
> - usb_ohci.c:xxx: warning: passing argument 1 of '__fswab32' makes integer
> from pointer wihtout a cast
>
> Signed-off-by: Martin Krause <martin.krase@tqs.de>
Thanks, will be added to Custodian repo.
> Some remarks:
>
> The patch fixes the compiler warnings, but I'm not sure, if the
> original code is correct. It seems, that in function periodic_unlink()
> the pointer ed_p is little/big endian swapped and not the content, the
> pointer is pointing to. Not sure if this was intended. Maybe some USB
> expert (Markus?) could take a look at this?
Hmm, not sure. I'll try to take a look, but it'll take a while. Are you
experiencing a problem you suspect is caused by this?
Best regards
Markus Klotzbuecher
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
next prev parent reply other threads:[~2007-08-23 16:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-21 10:40 [U-Boot-Users] [PATCH] MPC5xxx: fix some compiler warnings in USB code Martin Krause
2007-08-23 16:25 ` Markus Klotzbücher [this message]
2007-08-24 7:27 ` Martin Krause
2007-08-29 0:11 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wsvm8bg5.fsf@denx.de \
--to=mk@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.