i40e: fix hw_dbg usage in i40e_hmc_get_object_va
authorMauro S. M. Rodrigues <maurosr@linux.vnet.ibm.com>
Tue, 3 Sep 2019 19:20:20 +0000 (16:20 -0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 9 Sep 2019 17:18:18 +0000 (10:18 -0700)
commite1a8ca11c73594ea8874ed4c2712a58e0a5e922a
treefbbdf203863bbc89026b76ae3ff6baff6a04d6b9
parent00c0916618e6593dde5a99e9554983e5e2baff7e
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@linux.vnet.ibm.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c