Re: [PATCH V5 net-next 01/21] net-next/hinic: Initialize hw interface

From: David Miller
Date: Fri Aug 18 2017 - 01:04:06 EST


From: Stephen Hemminger <stephen@xxxxxxxxxxxxxxxxxx>
Date: Thu, 17 Aug 2017 17:45:40 -0700

> On Thu, 17 Aug 2017 19:52:42 +0800
> Aviad Krawczyk <aviad.krawczyk@xxxxxxxxxx> wrote:
>
>> + nic_dev = (struct hinic_dev *)netdev_priv(netdev);
>
> Since netdev_priv() returns void *, a cast is not necessary here.

Agreed.