]> 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)
commit8ddd86987bf95191a646318a487ca323abcb7766
treef035c7963098d7dd0ad1a3c9dbf0d38025bb4fde
parentf7df72fc92063aab31f9d5af4c4b4cba3f0d11f5
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