aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorMike Christie <[email protected]>2010-12-31 02:22:20 -0600
committerJames Bottomley <[email protected]>2010-12-31 09:52:42 -0600
commit1227633a441363642cdbaf38c4241d071e917095 (patch)
tree51b7ec4bc1d56b103bf74c5273a0d2b0e70abf70 /tools/perf/util/trace-event-scripting.c
parentbc7accec8788ada4f459461194c2b8fad94ed239 (diff)
[SCSI] be2iscsi: fix null ptr when accessing task hdr
If alloc_pdu fails then the task->hdr pointer may not be set. This adds a check for this case in the cleanup callback. Signed-off-by: Mike Christie <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions