]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
fm10k-shared: use mac-> instead of hw->mac.
authorNgai-Mint Kwan <ngai-mint.kwan@intel.com>
Wed, 2 Nov 2016 23:44:44 +0000 (16:44 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 8 Jan 2017 09:22:57 +0000 (01:22 -0800)
commit50bfaee50c005b707e9eee2ffb0bbb69b8efbf53
tree41e7381c9d9017e8b1f6446eb7ccaab21382f012
parent111427f6eb5a5d9ce22f8a90780ac1c18113091a
fm10k-shared: use mac-> instead of hw->mac.

Since a pointer "mac" to fm10k_mac_info structure exists, use it to
access the contents of its members.

Signed-off-by: Ngai-Mint Kwan <ngai-mint.kwan@intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_common.c