[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170817.220358.1098888253167010337.davem@davemloft.net>
Date: Thu, 17 Aug 2017 22:03:58 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: stephen@...workplumber.org
Cc: aviad.krawczyk@...wei.com, 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
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