soc: ti: knav_qmss_queue: Use list_for_each_entry_safe to prevent use after free
list_for_each_entry_safe() is necessary if list objects are deleted from the list while traversing it. Signed-off-by: NAxel Lin <axel.lin@ingics.com> Signed-off-by: NSantosh Shilimkar <ssantosh@kernel.org>
Showing
想要评论请 注册 或 登录