diff options
| author | Ondrej Zary <linux@rainbow-software.org> | 2015-11-19 22:13:04 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2015-11-20 22:48:27 +0300 |
| commit | 39536ff81e81fef6202612a3ba98aa21fa00c254 (patch) | |
| tree | 55f352047e7612cce6f7f508a15a8ba36fe09005 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 6b99c6d558bbfaba0292db1996199325a74c7d02 (diff) | |
| download | linux-39536ff81e81fef6202612a3ba98aa21fa00c254.tar.xz | |
dl2k: Handle memory allocation errors in alloc_list
If memory allocation fails in alloc_list(), free the already allocated
memory and return -ENOMEM. In rio_open(), call alloc_list() first and
abort if it fails. Move HW access (set RFDListPtr) out ot alloc_list().
Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
