From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] time: fix gcc warnings on MIPS64
Date: Mon, 11 Nov 2013 14:13:40 -0500 [thread overview]
Message-ID: <20131111191340.GF420@bill-the-cat> (raw)
In-Reply-To: <1383953414-25937-1-git-send-email-daniel.schwierzeck@gmail.com>
On Sat, Nov 09, 2013 at 12:30:14AM +0100, Daniel Schwierzeck wrote:
> Commit 8dfafdde88eb3e71d5569846396ae67a91017232 introduced
> new gcc warnings on MIPS64:
>
> time.c: In function 'tick_to_time':
> time.c:59:2: warning: comparison of distinct pointer types lacks a cast [enabled by default]
> time.c:59:2: warning: passing argument 1 of '__div64_32' from incompatible pointer type [enabled by default]
> In file included from time.c:10:0:
> ./u-boot-mips/include/div64.h:22:17: note: expected 'uint64_t *' but argument is of type 'long long unsigned int *'
> time.c: In function 'usec_to_tick':
> time.c:76:2: warning: comparison of distinct pointer types lacks a cast [enabled by default]
> time.c:76:2: warning: passing argument 1 of '__div64_32' from incompatible pointer type [enabled by default]
> In file included from time.c:10:0:
> ./u-boot-mips/include/div64.h:22:17: note: expected 'uint64_t *' but argument is of type 'long long unsigned int *'
>
> Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131111/fcbd2bbd/attachment.pgp>
prev parent reply other threads:[~2013-11-11 19:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-08 23:30 [U-Boot] [PATCH] time: fix gcc warnings on MIPS64 Daniel Schwierzeck
2013-11-11 19:13 ` Tom Rini [this message]
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=20131111191340.GF420@bill-the-cat \
--to=trini@ti.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox