[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140310174031.4145a3ff@nehalam.linuxnetplumber.net>
Date: Mon, 10 Mar 2014 17:40:31 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Vince Bridgers <vbridgers2013@...il.com>
Cc: devicetree@...r.kernel.org, netdev@...r.kernel.org,
linux-doc@...r.kernel.org, robh+dt@...nel.org, pawel.moll@....com,
mark.rutland@....com, ijc+devicetree@...lion.org.uk,
galak@...eaurora.org, rob@...dley.net
Subject: Re: [PATCH net-next v2 8/9] Altera TSE: Add Miscellaneous Files for
Altera Ethernet Driver
On Mon, 10 Mar 2014 18:14:36 -0500
Vince Bridgers <vbridgers2013@...il.com> wrote:
> +
> + buf[0] = (u64) ioread32(&mac->frames_transmitted_ok);
The cast to u64 is not really necessary, C will do it for you.
You do need the cast to do the shift for the 64 bit values.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists