summaryrefslogtreecommitdiff
path: root/include/linux/moduleloader.h
diff options
context:
space:
mode:
authorSudheer Mogilappagari <sudheer.mogilappagari@intel.com>2017-07-14 16:10:15 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2017-09-29 22:50:59 +0300
commit16badf758b25bd00528246ab9af938296b9d368d (patch)
tree9591a7714f7ce1fb8b96d957862e50018d1b27fd /include/linux/moduleloader.h
parent2b634bb0686e43a6338fe779fbabd72b6b928fdc (diff)
downloadlinux-16badf758b25bd00528246ab9af938296b9d368d.tar.xz
i40e: Fix unqualified module message while bringing link up
In current driver, when ifconfig ethx up is done, the link state doesn't transition to UP inside i40e_open(). It changes after AQ command response is handled in i40e_handle_link_event(). When pf->hw.phy.link_info.link_info is DOWN inside i40e_open(), The state is transient and invalid. So log message gets printed based on incorrect info (i.e link_info and an_info). This commit removes check for unqualified module inside i40e_up_complete(). The existing check in i40e_handle_link_event() logs the error message based on correct link state information. Signed-off-by: Sudheer Mogilappagari <sudheer.mogilappagari@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'include/linux/moduleloader.h')
0 files changed, 0 insertions, 0 deletions