netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2 net-next] net: dsa: add private context accessor
@ 2014-04-28 18:14 Florian Fainelli
  2014-04-28 18:14 ` [PATCH net-next 1/2] net: dsa: add ds_to_priv Florian Fainelli
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Florian Fainelli @ 2014-04-28 18:14 UTC (permalink / raw)
  To: netdev; +Cc: davem, buytenh, Florian Fainelli

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-04-30 17:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-28 18:14 [PATCH 0/2 net-next] net: dsa: add private context accessor Florian Fainelli
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

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).