via-velocity: velocity_init_{rd/tx}_ring use kcalloc(..., GFP_KERNEL).
Allocate and free everyting outside of the locked section. Spotted-by: NArjan van de Ven <arjan@linux.intel.com> Signed-off-by: NFrancois Romieu <romieu@fr.zoreil.com> Fixed-by: NSeguier Regis <rseguier@e-teleport.net> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Showing
想要评论请 注册 或 登录