summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWu Bo <wubo.oduw@gmail.com>2020-01-29 10:23:30 +0800
committerMarc Kleine-Budde <mkl@pengutronix.de>2020-11-15 18:24:36 +0100
commitcd0d83eab2e0c26fe87a10debfedbb23901853c1 (patch)
tree853f5f9cc5a49c52b70bca0eccc0c04b4415f0b4 /tools/perf/scripts/python/export-to-postgresql.py
parentc81d0b6ca665477c761f227807010762630b089f (diff)
can: m_can: m_can_handle_state_change(): fix state change
m_can_handle_state_change() is called with the new_state as an argument. In the switch statements for CAN_STATE_ERROR_ACTIVE, the comment and the following code indicate that a CAN_STATE_ERROR_WARNING is handled. This patch fixes this problem by changing the case to CAN_STATE_ERROR_WARNING. Signed-off-by: Wu Bo <wubo.oduw@gmail.com> Link: http://lore.kernel.org/r/20200129022330.21248-2-wubo.oduw@gmail.com Cc: Dan Murphy <dmurphy@ti.com> Fixes: e0d1f4816f2a ("can: m_can: add Bosch M_CAN controller support") Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions