lkml.org 
[lkml]   [2017]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V5 net-next 01/21] net-next/hinic: Initialize hw interface
On Thu, 17 Aug 2017 19:52:42 +0800
Aviad Krawczyk <aviad.krawczyk@huawei.com> wrote:

> + nic_dev = (struct hinic_dev *)netdev_priv(netdev);

Sinc netdev_priv() returns void *, a cast is not necessary here.

\
 
 \ /
  Last update: 2017-08-18 02:47    [W:0.092 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site