diff options
author | Varun Prakash <varun@chelsio.com> | 2017-07-23 17:31:32 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-07-25 05:16:16 +0300 |
commit | 5029271072bf55afa6d836180ee93af09b26ab8b (patch) | |
tree | 8595fad2ebf5281937802d19d4ae5fefa8f259b3 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 516b7db593f3a541e2e98867575c3c697f41a247 (diff) | |
download | linux-5029271072bf55afa6d836180ee93af09b26ab8b.tar.xz |
scsi: libcxgbi: add check for valid cxgbi_task_data
In error case it is possible that ->cleanup_task() gets called without
calling ->alloc_pdu() in this case cxgbi_task_data is not valid, so add
a check for for valid cxgbi_task_data in cxgbi_cleanup_task().
Signed-off-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions