[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130924193908.GA7561@redhat.com>
Date: Tue, 24 Sep 2013 21:39:08 +0200
From: Veaceslav Falico <vfalico@...hat.com>
To: David Miller <davem@...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
On Tue, Sep 24, 2013 at 03:19:43PM -0400, David Miller wrote:
>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.
Yep, leftover from the sandbox versions, will change and submit the new
version. Sorry about that :-/.
--
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