]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7b8ff52e891f3820b49a3845bc362f53ada0cbfb
treefbbdf203863bbc89026b76ae3ff6baff6a04d6b9
parent74feae521898d161d01a02275d192883197757a7
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