Thread (27 messages) flat view 27 messages, 3 authors, 2017-08-20

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

From: Aviad Krawczyk <hidden>
Date: 2017-08-20 09:23:49
Also in: lkml

We will remove all the casting from void *.

Thanks

On 8/18/2017 8:03 AM, David Miller wrote:
From: Stephen Hemminger <stephen@networkplumber.org>
Date: Thu, 17 Aug 2017 17:45:40 -0700
quoted
On Thu, 17 Aug 2017 19:52:42 +0800
Aviad Krawczyk [off-list ref] wrote:
quoted
+	nic_dev = (struct hinic_dev *)netdev_priv(netdev);
Since netdev_priv() returns void *, a cast is not necessary here.
Agreed.

.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help