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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 10, 2014 at 7:40 PM, Stephen Hemminger
<stephen@xxxxxxxxxxxxxxxxxx> wrote:
> On Mon, 10 Mar 2014 18:14:36 -0500
> Vince Bridgers <vbridgers2013@xxxxxxxxx> 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.

Ok, understood. I generally add the cast so it's explicit, but I'll modify.
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux