[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130924.151943.1884204173373827600.davem@redhat.com>
Date: Tue, 24 Sep 2013 15:19:43 -0400 (EDT)
From: David Miller <davem@...hat.com>
To: vfalico@...hat.com
Cc: netdev@...r.kernel.org, jiri@...nulli.us, fubar@...ibm.com,
andy@...yhouse.net
Subject: Re: [PATCH v4 net-next 06/27] bonding: modify
bond_get_slave_by_dev() to use neighbours
From: Veaceslav Falico <vfalico@...hat.com>
Date: Tue, 24 Sep 2013 13:46:46 +0200
> - return NULL;
> + return (struct slave *)netdev_lower_dev_get_private(bond->dev,
> + slave_dev);
> }
void pointers never need to be cast, please remove this "struct slave *"
cast.
--
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