diff options
author | Alan Brady | 2017-10-05 23:53:35 +0200 |
---|---|---|
committer | Jeff Kirsher | 2017-10-17 19:48:51 +0200 |
commit | 52e2d02e42e9a9ac299b61a1b1acbac06fe7949d (patch) | |
tree | e79c5f6cb051714837bb86d685616562be514a16 /drivers/net/ethernet/intel | |
parent | i40e: fix clearing link masks in i40e_get_link_ksettings (diff) | |
download | kernel-qcow2-linux-52e2d02e42e9a9ac299b61a1b1acbac06fe7949d.tar.gz kernel-qcow2-linux-52e2d02e42e9a9ac299b61a1b1acbac06fe7949d.tar.xz kernel-qcow2-linux-52e2d02e42e9a9ac299b61a1b1acbac06fe7949d.zip |
i40e: fix i40e_phy_type_to_ethtool function header
The function header erroneously listed 'phy_types' as a parameter. The
correct parameter is 'pf'.
Signed-off-by: Alan Brady <alan.brady@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel')
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c index fe0b2327de5b..a137675c1426 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c +++ b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c @@ -253,7 +253,7 @@ static void i40e_partition_setting_complaint(struct i40e_pf *pf) /** * i40e_phy_type_to_ethtool - convert the phy_types to ethtool link modes - * @phy_types: PHY types to convert + * @pf: PF struct with phy_types * @supported: pointer to the ethtool supported variable to fill in * @advertising: pointer to the ethtool advertising variable to fill in * |