summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/extcon-max8997.c
diff options
context:
space:
mode:
authorTony Nguyen <anthony.l.nguyen@intel.com>2016-07-13 10:33:16 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-07-22 01:52:08 -0700
commit6a11e52b6995b07a83a7d50e6301025ca35501be (patch)
tree9d0d92a2b03c8599bfe877e8ed92569771a0f2dd /drivers/extcon/extcon-max8997.c
parent6e469ed03ed9b21b0c2dd46f77113a85f3e2bea6 (diff)
downloadop-kernel-dev-6a11e52b6995b07a83a7d50e6301025ca35501be.zip
op-kernel-dev-6a11e52b6995b07a83a7d50e6301025ca35501be.tar.gz
ixgbevf: Add range checking for setting MTU
Currently when setting the VF's MTU, the PF can return a NACK but this isn't passed on to the VF. Propagate the results from the PF to the VF so errors can be reported. In ixgbevf_change_mtu, return an error and reject the change. For ixgbevf_configure_rx, log the error for debugging purposes since the function is buried in a series of Rx config routines that are void. Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> 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/extcon/extcon-max8997.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud