.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Core driver for the CC770 and AN82527 CAN controllers |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2009, 2011 Wolfgang Grandegger <wg@grandegger.com> |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or modify |
---|
7 | | - * it under the terms of the version 2 of the GNU General Public License |
---|
8 | | - * as published by the Free Software Foundation |
---|
9 | | - * |
---|
10 | | - * This program is distributed in the hope that it will be useful, |
---|
11 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
12 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
13 | | - * GNU General Public License for more details. |
---|
14 | 6 | */ |
---|
15 | 7 | |
---|
16 | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
---|
.. | .. |
---|
546 | 538 | priv->can.can_stats.error_warning++; |
---|
547 | 539 | } |
---|
548 | 540 | } else { |
---|
549 | | - /* Back to error avtive */ |
---|
| 541 | + /* Back to error active */ |
---|
550 | 542 | cf->can_id |= CAN_ERR_PROT; |
---|
551 | 543 | cf->data[2] = CAN_ERR_PROT_ACTIVE; |
---|
552 | 544 | priv->can.state = CAN_STATE_ERROR_ACTIVE; |
---|