Commit 55e95f9
ixgbe: return error on unsupported SFP module when resetting
[ Upstream commit bbb2707 ]
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>1 parent 33d1c29 commit 55e95f9
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3413 | 3413 | | |
3414 | 3414 | | |
3415 | 3415 | | |
| 3416 | + | |
| 3417 | + | |
| 3418 | + | |
3416 | 3419 | | |
3417 | 3420 | | |
3418 | 3421 | | |
| |||
0 commit comments