summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorAnirudh Venkataramanan <anirudh.venkataramanan@intel.com>2019-10-09 17:09:53 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-11-07 03:41:45 +0300
commit039c60c5970ff7dcf8ff3033397a77f3a283cb3e (patch)
treecb23ac63ec24130ef52ff71ce9d8558b24d66dfb /tools/perf/scripts/python/syscall-counts.py
parentff010eca05fae91e23a88a3b6604b88dd9bef7dc (diff)
downloadlinux-039c60c5970ff7dcf8ff3033397a77f3a283cb3e.tar.xz
ice: Fix return value when SR-IOV is not supported
When the device is not capable of supporting SR-IOV -ENODEV is being returned; -EOPNOTSUPP is more appropriate. Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions