[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1400072064-26095-1-git-send-email-vfalico@gmail.com>
Date: Wed, 14 May 2014 14:54:19 +0200
From: Veaceslav Falico <vfalico@...il.com>
To: netdev@...r.kernel.org
Cc: Jay Vosburgh <j.vosburgh@...il.com>,
Andy Gospodarek <andy@...yhouse.net>,
Veaceslav Falico <vfalico@...hat.com>
Subject: [PATCH net-next 0/5] bonding: simple macro cleanup
Hi,
That's a trivial patchset that tries to unify the macro usage of bonding
modes. I've split it into two approaches - either BOND_*, which takes
bonding struct as a param, or MODE_*, which takes the mode itself. Also,
introduce BOND_MODE(bond) instead of ugly bond->params.mode.
CC: Jay Vosburgh <j.vosburgh@...il.com>
CC: Andy Gospodarek <andy@...yhouse.net>
CC: netdev@...r.kernel.org
Signed-off-by: Veaceslav Falico <vfalico@...hat.com>
---
drivers/net/bonding/bond_alb.c | 4 +-
drivers/net/bonding/bond_debugfs.c | 2 +-
drivers/net/bonding/bond_main.c | 114 ++++++++++++++++-----------------
drivers/net/bonding/bond_netlink.c | 6 +-
drivers/net/bonding/bond_options.c | 6 +-
drivers/net/bonding/bond_procfs.c | 14 ++--
drivers/net/bonding/bond_sysfs.c | 14 ++--
drivers/net/bonding/bond_sysfs_slave.c | 2 +-
drivers/net/bonding/bonding.h | 24 +++----
9 files changed, 91 insertions(+), 95 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists