Subject: Re: [PATCH net-next v2 8/9] Altera TSE: Add Miscellaneous Files for Altera Ethernet Driver

From: Stephen Hemminger <[email-masked]>
Date: Mon, 10 Mar 2014 17:40:31 -0700

On Mon, 10 Mar 2014 18:14:36 -0500
Vince Bridgers <[email-masked]> 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.