[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200723224218.GN1553578@lunn.ch>
Date: Fri, 24 Jul 2020 00:42:18 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Andre Edich <andre.edich@...rochip.com>
Cc: netdev@...r.kernel.org, UNGLinuxDriver@...rochip.com,
steve.glendinning@...well.net, Parthiban.Veerasooran@...rochip.com
Subject: Re: [PATCH net-next v2 2/6] smsc95xx: use usbnet->driver_priv
On Thu, Jul 23, 2020 at 01:55:03PM +0200, Andre Edich wrote:
> Using `void *driver_priv` instead of `unsigned long data[]` is more
> straightforward way to recover the `struct smsc95xx_priv *` from the
> `struct net_device *`.
>
> Signed-off-by: Andre Edich <andre.edich@...rochip.com>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists