Subject: Re: [PATCH v4 net-next 06/27] bonding: modify bond_get_slave_by_dev() to use neighbours

From: Veaceslav Falico <[email-masked]>
Date: Tue, 24 Sep 2013 21:39:08 +0200

On Tue, Sep 24, 2013 at 03:19:43PM -0400, David Miller wrote:
>From: Veaceslav Falico <[email-masked]>
>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 :-/.