Thread (17 messages) flat view 17 messages, 4 authors, 2014-03-11

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

From: Vince Bridgers <hidden>
Date: 2014-03-11 15:35:00
Also in: netdev

On Mon, Mar 10, 2014 at 7:40 PM, Stephen Hemminger
[off-list ref] wrote:
On Mon, 10 Mar 2014 18:14:36 -0500
Vince Bridgers [off-list ref] wrote:
quoted
+
+     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.
Ok, understood. I generally add the cast so it's explicit, but I'll modify.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help