diff options
| author | Hariprasad S <hariprasad@chelsio.com> | 2015-12-11 13:59:17 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-03 15:07:10 -0800 |
| commit | 64fb3e29bf47e5db029b81fc99ac40f6cd2620ac (patch) | |
| tree | bff0138db6663225c91e5073eaf245b75f4ec955 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 50d60403753a0149c82e5b1851e0cd0499ddff4e (diff) | |
iw_cxgb3: Fix incorrectly returning error on success
commit 67f1aee6f45059fd6b0f5b0ecb2c97ad0451f6b3 upstream.
The cxgb3_*_send() functions return NET_XMIT_ values, which are
positive integers values. So don't treat positive return values
as an error.
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
[a pox on developers and maintainers who do not cc: stable for bug fixes like this - gregkh]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
