On Mon, 10 Mar 2014 18:14:36 -0500
Vince Bridgers <[email protected]> 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 devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to