soc: ti: knav_qmss_queue: Use list_for_each_entry_safe to prevent use after free
authorAxel Lin <axel.lin@ingics.com>
Mon, 3 Nov 2014 18:21:54 +0000 (10:21 -0800)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 3 Nov 2014 18:22:06 +0000 (10:22 -0800)
list_for_each_entry_safe() is necessary if list objects are deleted from
the list while traversing it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>

No differences found