public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber•org>
To: Vince Bridgers <vbridgers2013@gmail•com>
Cc: devicetree@vger•kernel.org, netdev@vger•kernel.org,
	linux-doc@vger•kernel.org, robh+dt@kernel•org,
	pawel.moll@arm•com, mark.rutland@arm•com,
	ijc+devicetree@hellion•org.uk, galak@codeaurora•org,
	rob@landley•net
Subject: Re: [PATCH net-next v2 8/9] Altera TSE: Add Miscellaneous Files for Altera Ethernet Driver
Date: Mon, 10 Mar 2014 17:40:31 -0700	[thread overview]
Message-ID: <20140310174031.4145a3ff@nehalam.linuxnetplumber.net> (raw)
In-Reply-To: <1394493277-2105-9-git-send-email-vbridgers2013@gmail.com>

On Mon, 10 Mar 2014 18:14:36 -0500
Vince Bridgers <vbridgers2013@gmail•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.

  parent reply	other threads:[~2014-03-11  0:40 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-10 23:14 [PATCH net-next v2 0/9] Altera Triple Speed Ethernet (TSE) Driver Vince Bridgers
2014-03-10 23:14 ` [PATCH net-next v2 1/9] MAINTAINERS: Add entry for Altera Triple Speed Ethernet Driver Vince Bridgers
     [not found] ` <1394493277-2105-1-git-send-email-vbridgers2013-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-03-10 23:14   ` [PATCH net-next v2 2/9] net: ethernet: Change Ethernet Makefile and Kconfig for Altera TSE driver Vince Bridgers
2014-03-11 14:09     ` Sergei Shtylyov
2014-03-11 15:46       ` Vince Bridgers
2014-03-10 23:14 ` [PATCH net-next v2 3/9] dts: Add bindings for the Altera Triple Speed Ethernet driver Vince Bridgers
2014-03-11  9:22   ` Mark Rutland
     [not found]     ` <20140311092222.GA31679-NuALmloUBlrZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>
2014-03-11 15:44       ` Vince Bridgers
2014-03-10 23:14 ` [PATCH net-next v2 4/9] Documentation: networking: Add Altera Ethernet (TSE) Documentation Vince Bridgers
2014-03-10 23:14 ` [PATCH net-next v2 5/9] Altera TSE: Add Altera Ethernet Driver Makefile and Kconfig Vince Bridgers
2014-03-10 23:14 ` [PATCH net-next v2 6/9] Altera TSE: Add Altera Ethernet Driver MSGDMA File Components Vince Bridgers
2014-03-10 23:14 ` [PATCH net-next v2 7/9] Altera TSE: Add Altera Ethernet Driver SGDMA file components Vince Bridgers
2014-03-10 23:14 ` [PATCH net-next v2 8/9] Altera TSE: Add Miscellaneous Files for Altera Ethernet Driver Vince Bridgers
2014-03-11  0:38   ` Stephen Hemminger
2014-03-11 15:33     ` Vince Bridgers
2014-03-11  0:40   ` Stephen Hemminger [this message]
2014-03-11 15:35     ` Vince Bridgers
2014-03-11 15:51       ` David Laight
2014-03-10 23:14 ` [PATCH net-next v2 9/9] Altera TSE: Add main and header file " Vince Bridgers
2014-03-11  9:44   ` Mark Rutland
2014-03-11 15:38     ` Vince Bridgers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140310174031.4145a3ff@nehalam.linuxnetplumber.net \
    --to=stephen@networkplumber$(echo .)org \
    --cc=devicetree@vger$(echo .)kernel.org \
    --cc=galak@codeaurora$(echo .)org \
    --cc=ijc+devicetree@hellion$(echo .)org.uk \
    --cc=linux-doc@vger$(echo .)kernel.org \
    --cc=mark.rutland@arm$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=pawel.moll@arm$(echo .)com \
    --cc=rob@landley$(echo .)net \
    --cc=robh+dt@kernel$(echo .)org \
    --cc=vbridgers2013@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox