diff options
author | Xiaofei Tan <[email protected]> | 2017-10-24 23:51:37 +0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2017-10-25 08:21:04 -0400 |
commit | 378c233bcb21dfb2d9c2548b9a1fa6a8d35c78dd (patch) | |
tree | 892ddfb22823048e863e3db962e88ccd7f875c59 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 1eb8eeac17ee808b50b422f5ef2e27f5497f82ad (diff) |
scsi: hisi_sas: fix NULL check in SMP abort task path
This patch adds a NULL check of task->lldd_task before freeing the
slot in SMP path.
This is to guard against the scenario of the slot being freed during
the from the preceding internal abort.
Signed-off-by: Xiaofei Tan <[email protected]>
Signed-off-by: John Garry <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions