diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2018-04-19 17:06:57 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-06-21 04:02:57 +0900 |
commit | 55e95f9ad712f43756393bfc1369ddade995ef26 (patch) | |
tree | e50a681ffe96435190cf59050f42662946cd7d42 /net/sched | |
parent | 33d1c29e935ef72dbcaf0eeeb67b6cb0788fa045 (diff) | |
download | linux-stable-55e95f9ad712f43756393bfc1369ddade995ef26.tar.gz linux-stable-55e95f9ad712f43756393bfc1369ddade995ef26.tar.bz2 linux-stable-55e95f9ad712f43756393bfc1369ddade995ef26.zip |
ixgbe: return error on unsupported SFP module when resetting
[ Upstream commit bbb2707623f3ccc48695da2433f06d7c38193451 ]
Add check for unsupported module and return the error code.
This fixes a Coverity hit due to unused return status from setup_sfp.
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions