From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] i40evf: fix mac deletion when stop dev
Date: Sun, 06 Dec 2015 22:34:01 +0100 [thread overview]
Message-ID: <1552305.QY8GdKH3cv@xps13> (raw)
In-Reply-To: <20151130083300.75ba06bc@xeon-e3>
2015-11-30 08:33, Stephen Hemminger:
> On Mon, 30 Nov 2015 11:54:09 +0800
> Jingjing Wu <jingjing.wu@intel.com> wrote:
>
> > + (void)rte_memcpy(mac_addr.addr_bytes, hw->mac.addr,
> > + sizeof(mac_addr.addr_bytes))
>
> Please don't add useless (void) cast.
> I haven't seen that since lint on Unix.
It is the style in i40e driver.
It may deserve a general cleanup.
next prev parent reply other threads:[~2015-12-06 21:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-30 3:54 Jingjing Wu
2015-11-30 5:17 ` Zhang, Helin
2015-11-30 5:48 ` Wu, Jingjing
2015-11-30 16:33 ` Stephen Hemminger
2015-12-06 21:34 ` Thomas Monjalon [this message]
2015-12-06 21:34 ` Thomas Monjalon
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=1552305.QY8GdKH3cv@xps13 \
--to=thomas.monjalon@6wind.com \
--cc=dev@dpdk.org \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).