diff options
author | Geert Uytterhoeven <[email protected]> | 2022-10-28 12:06:45 +0200 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2022-11-07 14:00:27 +0100 |
commit | 8b043dfb3dc7c32f9c2c0c93e3c2de346ee5e358 (patch) | |
tree | 6d8234b25745b5373a0d933844ce94bf28aed2e7 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | ae64438be1923e3c1102d90fd41db7afcfaf54cc (diff) |
can: rcar_canfd: Add missing ECC error checks for channels 2-7
When introducing support for R-Car V3U, which has 8 instead of 2
channels, the ECC error bitmask was extended to take into account the
extra channels, but rcar_canfd_global_error() was not updated to act
upon the extra bits.
Replace the RCANFD_GERFL_EEF[01] macros by a new macro that takes the
channel number, fixing R-Car V3U while simplifying the code.
Fixes: 45721c406dcf50d4 ("can: rcar_canfd: Add support for r8a779a0 SoC")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Biju Das <[email protected]>
Link: https://lore.kernel.org/all/4edb2ea46cc64d0532a08a924179827481e14b4f.1666951503.git.geert+renesas@glider.be
Cc: [email protected]
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions