[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ba6946a4-95eb-9944-3aa5-87a13dd800d0@pengutronix.de>
Date: Wed, 3 Jan 2018 11:35:40 +0100
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: Luu An Phu <phu.luuan@....com>, wg@...ndegger.com
Cc: linux-can@...r.kernel.org, netdev@...r.kernel.org,
stefan-gabriel.mirea@....com
Subject: Re: [PATCH] flex_can: Correct the checking for frame length in
flexcan_start_xmit()
On 01/02/2018 04:44 AM, Luu An Phu wrote:
> From: "phu.luuan" <phu.luuan@....com>
>
> The flexcan_start_xmit() function compares the frame length with data register
> length to write frame content into data[0] and data[1] register. Data register
> length is 4 bytes and frame maximum length is 8 bytes.
>
> Fix the check that compares frame length with 3. Because the register length
> is 4.
>
> Signed-off-by: Luu An Phu <phu.luuan@....com>
Applied to can.
Tnx,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists