Re: [PATCH v2] Use RX_BUF_SIZE to set size of RX buffer

From: Greg Kroah-Hartman
Date: Tue Oct 03 2017 - 14:24:16 EST


On Thu, Sep 28, 2017 at 11:07:40AM +0100, Martyn Welch wrote:
> The imx serial driver uses PAGE_SIZE when allocating rx_buf, but then
> uses RX_BUF_SIZE (which is currently defined as PAGE_SIZE) to describe
> the length of the buffer when initialising the scatter gather list.
>
> In order to ensure that this stays consistent, use RX_BUF_SIZE in both
> locations.
>
> Signed-off-by: Martyn Welch <martyn.welch@xxxxxxxxxxxxxxx>
> Acked-by: Uwe Kleine-König <u.kleine-könig@xxxxxxxxxxxxx>
> ---
>
> v2: Add missing SoB and Uwe's Acked-by.

Your subject is missing "serial: imx:" :(

I'll go fix it up...