Re: [PATCH] dma: tegra: use list_move_tail instead of list_del/list_add_tail

From: Laxman Dewangan
Date: Fri Sep 07 2012 - 02:56:40 EST


On Wednesday 05 September 2012 12:38 PM, Wei Yongjun wrote:
From: Wei Yongjun<yongjun_wei@xxxxxxxxxxxxxxxxx>

Using list_move_tail() instead of list_del() + list_add_tail().

spatch with a semantic match is used to found this problem.
(http://coccinelle.lip6.fr/)

Signed-off-by: Wei Yongjun<yongjun_wei@xxxxxxxxxxxxxxxxx>
---
Acked-by: Laxman Dewangan <ldewangan@xxxxxxxxxx>
Looks good to me.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/