diff options
| author | Mark Rustad <[email protected]> | 2014-07-22 06:50:52 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2014-07-25 19:26:44 -0700 |
| commit | 4e86281b59ce7881cc21dfb6fb4b596f737d6ee5 (patch) | |
| tree | f50ba1f3e24bec7262ee70668fb10c2e808eb1c4 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | acb1ce223b3e6a340e46fe7b21a9dd4797618ace (diff) | |
ixgbe: Fix ixgbe_write_mbx error result
If ixgbe_write_mbx is called and no mbx->ops.write method
exists, no error code is returned. The corresponding read
function explicitly returns an error in such a case as do
other functions, so this appears to be a minor bug. Fix
it for consistency, and generate return values directly
to make things clearer.
Signed-off-by: Mark Rustad <[email protected]>
Tested-by: Phil Schmitt <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions