diff options
author | Varun Prakash <varun@chelsio.com> | 2017-07-23 20:01:32 +0530 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-07-24 22:16:16 -0400 |
commit | 5029271072bf55afa6d836180ee93af09b26ab8b (patch) | |
tree | 8595fad2ebf5281937802d19d4ae5fefa8f259b3 /include/sound/timer.h | |
parent | 516b7db593f3a541e2e98867575c3c697f41a247 (diff) | |
download | linux-5029271072bf55afa6d836180ee93af09b26ab8b.tar.bz2 |
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 'include/sound/timer.h')
0 files changed, 0 insertions, 0 deletions