diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2013-09-25 23:41:14 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2013-09-27 05:22:30 -0700 |
commit | 078b587648950e75a4a303e4afbb127d2dd323dc (patch) | |
tree | 4175f9357eb6bc48c16fe40d851f7e63960dc402 /drivers/net/ethernet/intel/i40e/i40e_adminq.c | |
parent | dcae29be4fba85cc9965511f5c112bd08892b1cb (diff) |
i40e: better return values
As mentioned by Joe Perches, clean up return values in some functions
making sure to have consistent return types, not mixing types.
A couple of Joe's comments suggested returning void, but since
the functions in question are ndo defined, the return values are fixed.
So make a comment in the header that notes this is a function called by
net_device_ops.
v2: fix post increment bug in return
CC: Joe Perches <joe@perches.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_adminq.c')
0 files changed, 0 insertions, 0 deletions