diff options
| author | Dan Carpenter <[email protected]> | 2010-04-21 23:55:27 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2010-04-22 22:57:26 +0000 |
| commit | 24acc6895616b373475e92e49925efc3ef591563 (patch) | |
| tree | 69cbd3f262881d42602e99377faac584c3b2d8d0 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | rtnetlink: potential ERR_PTR dereference (diff) | |
| download | kernel-24acc6895616b373475e92e49925efc3ef591563.tar.gz kernel-24acc6895616b373475e92e49925efc3ef591563.zip | |
rdma: potential ERR_PTR dereference
In the original code, the "goto out" calls "rdma_destroy_id(cm_id);"
That isn't needed here and would cause problems because "cm_id" is an
ERR_PTR. The new code just returns directly.
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Andy Grover <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
