From: Florian Fainelli <f.fainelli@gmail.com>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, buytenh@wantstofly.org,
Florian Fainelli <f.fainelli@gmail.com>
Subject: [PATCH 0/2 net-next] net: dsa: add private context accessor
Date: Mon, 28 Apr 2014 11:14:26 -0700 [thread overview]
Message-ID: <1398708868-15084-1-git-send-email-f.fainelli@gmail.com> (raw)
Lennert, David,
This patchset adds a private context accessors instead of doing the
(void *)(ds + 1) trick in DSA drivers that require the use of a private
context.
Florian Fainelli (2):
net: dsa: add ds_to_priv
net: dsa: update DSA drivers to use ds_to_priv
drivers/net/dsa/mv88e6123_61_65.c | 2 +-
drivers/net/dsa/mv88e6131.c | 4 ++--
drivers/net/dsa/mv88e6xxx.c | 12 ++++++------
include/net/dsa.h | 5 +++++
4 files changed, 14 insertions(+), 9 deletions(-)
--
1.9.1
next reply other threads:[~2014-04-28 19:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-28 18:14 Florian Fainelli [this message]
2014-04-28 18:14 ` [PATCH net-next 1/2] net: dsa: add ds_to_priv Florian Fainelli
2014-04-28 18:14 ` [PATCH net-next 2/2] net: dsa: update DSA drivers to use ds_to_priv Florian Fainelli
2014-04-30 17:31 ` [PATCH 0/2 net-next] net: dsa: add private context accessor David Miller
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=1398708868-15084-1-git-send-email-f.fainelli@gmail.com \
--to=f.fainelli@gmail.com \
--cc=buytenh@wantstofly.org \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.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).