Messages in this thread | | | Date | Mon, 12 Mar 2018 14:12:21 +0000 | From | Lee Jones <> | Subject | Re: [PATCH v2 3/3] mfd: rave-sp: Check received frame length before accepting next byte |
| |
On Thu, 08 Mar 2018, Andrey Smirnov wrote:
> Check received frame length _before_ accepting next byte in order to > avoid incorrectly rejecting payloads that are RAVE_SP_RX_BUFFER_SIZE > long. > > Cc: linux-kernel@vger.kernel.org > Cc: cphealy@gmail.com > Cc: Lucas Stach <l.stach@pengutronix.de> > Cc: Lee Jones <lee.jones@linaro.org> > Cc: Guenter Roeck <linux@roeck-us.net> > Tested-by: Lucas Stach <l.stach@pengutronix.de> > Acked-for-MFD-by: Lee Jones <lee.jones@linaro.org> > Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> > --- > drivers/mfd/rave-sp.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.
-- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
| |