linux-mips
[Top] [All Lists]

Re: gcc warning in my trace_benchmark() code

To: David Daney <ddaney.cavm@gmail.com>
Subject: Re: gcc warning in my trace_benchmark() code
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Fri, 6 Jun 2014 09:16:59 +0200
Cc: Steven Rostedt <rostedt@goodmis.org>, Ralf Baechle <ralf@linux-mips.org>, Linux MIPS Mailing List <linux-mips@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=g6KGZtNFvG0LIWzds7cCtXeg2geiNb9/FgBephkTSz8=; b=rSQ7yeU0SGmiNvykwrKS44WthPHz/NHh7bjrx+bTl7uNTrJyYUdL65x3cvBqPyIPpY Bj0pxZzCpC9HHg6CJSsHOBJ4IOsug+MLEUkzOtl/n9Z+q9zEDUHKYWi+Y0WPujRbFifY T9Xa36D0nZESioX4YDY8H6ce1Qdra4G1vMp3Mpamx+hDZMyoYEdfDgpgI2giVBcaUYmR 1iGpPkaaVMSmfA75bz8Lcafxs4OyE1J9WKQ5vWvUhmBbV7WLbWmSs6KCGzDUj0A2LRXt UVspbqWc2oZQ23l8x1E4vs/3Ojd7DaMf2o8v/IrwqQdc1xRPgVxnP96PrOqa5Pxiukd0 HyKw==
In-reply-to: <5390E788.2030702@gmail.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20140605121204.18ee5f2d@gandalf.local.home> <5390A4F0.3000601@gmail.com> <20140605133500.190eb31d@gandalf.local.home> <5390BA9D.3090402@gmail.com> <20140605145339.57c5be79@gandalf.local.home> <5390E788.2030702@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
On Thu, Jun 5, 2014 at 11:56 PM, David Daney <ddaney.cavm@gmail.com> wrote:
>> I don't
>> see it in the comments, and I don't see anything in the Documentation
>> directory. It only states that n must be 64bit. It doesn't say unsigned
>> 64 bit.
>
> The handful of call sites I examined, seem to all use u64 or unsigned long
> long.

And the ones that don't, cause warnings, and are being fixed:

https://www.mail-archive.com/linuxppc-dev@lists.ozlabs.org/msg78445.html

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

<Prev in Thread] Current Thread [Next in Thread>