[Intel-wired-lan] [PATCH v2 net-next 1/2] i40e: fix hw_dbg usage in i40e_hmc_get_object_va

Bowers, AndrewX andrewx.bowers at intel.com
Wed Sep 4 22:29:50 UTC 2019


> -----Original Message-----
> From: Mauro S. M. Rodrigues [mailto:maurosr at linux.vnet.ibm.com]
> Sent: Tuesday, September 3, 2019 12:20 PM
> To: Kirsher, Jeffrey T <jeffrey.t.kirsher at intel.com>
> Cc: intel-wired-lan at lists.osuosl.org; netdev at vger.kernel.org;
> davem at davemloft.net; Bowers, AndrewX <andrewx.bowers at intel.com>;
> Jakub Kicinski <jakub.kicinski at netronome.com>;
> maurosr at linux.vnet.ibm.com
> Subject: [PATCH v2 net-next 1/2] i40e: fix hw_dbg usage in
> i40e_hmc_get_object_va
> 
> The mentioned function references a i40e_hw attribute, as parameter for
> hw_dbg, but it doesn't exist in the function scope.
> Fixes it by changing  parameters from i40e_hmc_info to i40e_hw which can
> retrieve the necessary i40e_hmc_info.
> 
> v2:
>  - Fixed reverse xmas tree code style issue as suggested by Jakub Kicinski
> 
> Signed-off-by: Mauro S. M. Rodrigues <maurosr at linux.vnet.ibm.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c | 16 +++++++++-------
>  1 file changed, 9 insertions(+), 7 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list