aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorViswas G <[email protected]>2015-08-11 15:06:28 +0530
committerJames Bottomley <[email protected]>2015-08-26 17:11:01 -0700
commit3b700e341144f278b8248418991c086d09b7137b (patch)
treef8db9c17cd3532956b4d433ca22ccd3a987469d0 /scripts/gdb/linux/tasks.py
parent842784e0d15bc21b31ce69f8f3518a8cf86084e3 (diff)
pm80xx: Fix for Incorrect DMA Unmapping of SG List
In pm8001_ccb_task_free(), the dma unmapping is done based on ccb->n_elem value. This should be initialized to zero in the task_abort(). Otherwise, pm8001_ccb_task_free() will try for dma_unmap_sg() which is invalid for task abort and can lead to kernel crash. Changes From V1: None Signed-off-by: Viswas G <[email protected]> Reviewed-by: Suresh Thiagarajan <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-by: Jack Wang <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions