This is a note to let you know that I've just added the patch titled

    can: pch_can: fix invalid error codes

to the 3.4-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     can-pch_can-fix-invalid-error-codes.patch
and it can be found in the queue-3.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.


>From ee50e135aeb048b90fab662e661c58b67341830b Mon Sep 17 00:00:00 2001
From: Olivier Sobrie <oliv...@sobrie.be>
Date: Fri, 18 Jan 2013 09:32:41 +0100
Subject: can: pch_can: fix invalid error codes

From: Olivier Sobrie <oliv...@sobrie.be>

commit ee50e135aeb048b90fab662e661c58b67341830b upstream.

Errors in CAN protocol (location) are reported in data[3] of the can
frame instead of data[2].

Signed-off-by: Olivier Sobrie <oliv...@sobrie.be>
Signed-off-by: Marc Kleine-Budde <m...@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>

---
 drivers/net/can/pch_can.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/net/can/pch_can.c
+++ b/drivers/net/can/pch_can.c
@@ -560,7 +560,7 @@ static void pch_can_error(struct net_dev
                stats->rx_errors++;
                break;
        case PCH_CRC_ERR:
-               cf->data[2] |= CAN_ERR_PROT_LOC_CRC_SEQ |
+               cf->data[3] |= CAN_ERR_PROT_LOC_CRC_SEQ |
                               CAN_ERR_PROT_LOC_CRC_DEL;
                priv->can.can_stats.bus_error++;
                stats->rx_errors++;


Patches currently in stable-queue which might be from oliv...@sobrie.be are

queue-3.4/can-pch_can-fix-invalid-error-codes.patch
queue-3.4/can-ti_hecc-fix-invalid-error-codes.patch
queue-3.4/can-c_can-fix-invalid-error-codes.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to