From 2c2770541040318fa6ac0ac4424d8af6dd0709bf Mon Sep 17 00:00:00 2001 From: Leilei Zhao Date: Fri, 27 Feb 2015 16:07:14 +0800 Subject: [PATCH] tty/serial: at91: correct check of buf used in DMA We only use buf of ring In DMA rx function while using buf of xmit in DMA tx function. So in DMA rx we need definitively to check the buf of ring which is corresponding to DMA rx function. And use macro PAGE_ALIGNED to simplify the expression. Signed-off-by: Leilei Zhao Acked-by: Nicolas Ferre Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed