aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/probe.c
diff options
context:
space:
mode:
authorJesse Brandeburg <jesse.brandeburg@intel.com>2013-09-25 19:41:14 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2013-09-27 08:22:30 -0400
commit078b587648950e75a4a303e4afbb127d2dd323dc (patch)
tree4175f9357eb6bc48c16fe40d851f7e63960dc402 /drivers/pci/probe.c
parentdcae29be4fba85cc9965511f5c112bd08892b1cb (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/pci/probe.c')
0 files changed, 0 insertions, 0 deletions