diff options
author | Oliver Hartkopp <socketcan@hartkopp.net> | 2012-05-08 22:20:33 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-05-23 22:55:49 +0200 |
commit | d6e640f9766e2fb9aa3853b4ff19e4d7d5d7e373 (patch) | |
tree | 8042b08dfb17169907f71c65215bf4ec421f5ec5 /include/linux/can | |
parent | 8b5e218d8caa7592d26e68157bd71f50426bb7ae (diff) | |
download | talos-op-linux-d6e640f9766e2fb9aa3853b4ff19e4d7d5d7e373.tar.gz talos-op-linux-d6e640f9766e2fb9aa3853b4ff19e4d7d5d7e373.zip |
can: update documentation wording error frames -> error messages
As Heinz-Juergen Oertel pointed out 'CAN error frames' are a already defined
term for the CAN protocol violation indication on the wire.
To avoid confusion with the error messages created by CAN drivers available
via CAN RAW sockets update the documentation and change the naming from
'error frames' to 'error messages' or 'error message frames'.
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'include/linux/can')
-rw-r--r-- | include/linux/can/error.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/can/error.h b/include/linux/can/error.h index 63e855ea6b84..7b7148bded71 100644 --- a/include/linux/can/error.h +++ b/include/linux/can/error.h @@ -1,7 +1,7 @@ /* * linux/can/error.h * - * Definitions of the CAN error frame to be filtered and passed to the user. + * Definitions of the CAN error messages to be filtered and passed to the user. * * Author: Oliver Hartkopp <oliver.hartkopp@volkswagen.de> * Copyright (c) 2002-2007 Volkswagen Group Electronic Research @@ -12,7 +12,7 @@ #ifndef CAN_ERROR_H #define CAN_ERROR_H -#define CAN_ERR_DLC 8 /* dlc for error frames */ +#define CAN_ERR_DLC 8 /* dlc for error message frames */ /* error class (mask) in can_id */ #define CAN_ERR_TX_TIMEOUT 0x00000001U /* TX timeout (by netdevice driver) */ |