]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Missing response checks in driver when starting/stopping FW LLDP
authorPiotr Marczak <piotr.marczak@intel.com>
Wed, 24 Apr 2019 12:20:52 +0000 (05:20 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 14 Jun 2019 20:03:08 +0000 (13:03 -0700)
commitc89be4523a4f6e706eb2ae54a28454216088479b
treef035c7963098d7dd0ad1a3c9dbf0d38025bb4fde
parent9d9916fe9fc882bbab7fe5e80ef753c9f6078241
i40e: Missing response checks in driver when starting/stopping FW LLDP

Driver did not check response on LLDP flag change and always returned
SUCCESS.

This patch now checks for an error and returns an error code and has
additional information in the log.

Signed-off-by: Piotr Marczak <piotr.marczak@intel.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_ethtool.c