Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF00DC433E5 for ; Thu, 23 Jul 2020 22:42:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C1911206E3 for ; Thu, 23 Jul 2020 22:42:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727808AbgGWWmU (ORCPT ); Thu, 23 Jul 2020 18:42:20 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:52384 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726608AbgGWWmT (ORCPT ); Thu, 23 Jul 2020 18:42:19 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1jyjus-006anl-JZ; Fri, 24 Jul 2020 00:42:18 +0200 Date: Fri, 24 Jul 2020 00:42:18 +0200 From: Andrew Lunn To: Andre Edich Cc: netdev@vger.kernel.org, UNGLinuxDriver@microchip.com, steve.glendinning@shawell.net, Parthiban.Veerasooran@microchip.com Subject: Re: [PATCH net-next v2 2/6] smsc95xx: use usbnet->driver_priv Message-ID: <20200723224218.GN1553578@lunn.ch> References: <20200723115507.26194-1-andre.edich@microchip.com> <20200723115507.26194-3-andre.edich@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200723115507.26194-3-andre.edich@microchip.com> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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 Reviewed-by: Andrew Lunn Andrew