diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2018-04-19 17:06:57 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2018-05-11 12:16:58 -0700 |
commit | bbb2707623f3ccc48695da2433f06d7c38193451 (patch) | |
tree | bc6ee63288a60d65a97e4dc705f362b56de8c8b8 /drivers/i2c/i2c-core-slave.c | |
parent | ea3beca422742ca7e8502496e2806421d5e9d6fd (diff) | |
download | linux-bbb2707623f3ccc48695da2433f06d7c38193451.tar.bz2 |
ixgbe: return error on unsupported SFP module when resetting
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>
Diffstat (limited to 'drivers/i2c/i2c-core-slave.c')
0 files changed, 0 insertions, 0 deletions