On Thu, 17 Aug 2017 19:52:42 +0800 Aviad Krawczyk <[email protected]> wrote:
> + nic_dev = (struct hinic_dev *)netdev_priv(netdev); Sinc netdev_priv() returns void *, a cast is not necessary here.
On Thu, 17 Aug 2017 19:52:42 +0800 Aviad Krawczyk <[email protected]> wrote:
> + nic_dev = (struct hinic_dev *)netdev_priv(netdev); Sinc netdev_priv() returns void *, a cast is not necessary here.