[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a1428fb3-818d-1e93-b3c8-6aac7dea4052@huawei.com>
Date: Sun, 20 Aug 2017 12:20:00 +0300
From: Aviad Krawczyk <aviad.krawczyk@...wei.com>
To: David Miller <davem@...emloft.net>, <stephen@...workplumber.org>
CC: <linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>,
<bc.y@...wei.com>, <victor.gissin@...wei.com>,
<zhaochen6@...wei.com>, <tony.qu@...wei.com>
Subject: Re: [PATCH V5 net-next 01/21] net-next/hinic: Initialize hw interface
We will remove all the casting from void *.
Thanks
On 8/18/2017 8:03 AM, David Miller wrote:
> From: Stephen Hemminger <stephen@...workplumber.org>
> Date: Thu, 17 Aug 2017 17:45:40 -0700
>
>> On Thu, 17 Aug 2017 19:52:42 +0800
>> Aviad Krawczyk <aviad.krawczyk@...wei.com> wrote:
>>
>>> + nic_dev = (struct hinic_dev *)netdev_priv(netdev);
>>
>> Since netdev_priv() returns void *, a cast is not necessary here.
>
> Agreed.
>
> .
>
Powered by blists - more mailing lists