]> git.baikalelectronics.ru Git - kernel.git/commit
can: dev: can_change_state(): print human readable state change messages
authorMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 15 Sep 2020 22:35:02 +0000 (00:35 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 21 Sep 2020 08:13:17 +0000 (10:13 +0200)
commitc3be37d1cea133a1c0dca2d7f64b549235ea2f83
tree2c0ec04824700b5381ad18aaf1974e5d000b7c8f
parentdf6a286baec9e0877b61ab50e39f4c8af204a1a1
can: dev: can_change_state(): print human readable state change messages

In order to ease debugging let can_change_state() print the human readable
state change messages. Also print the old and new state.

Link: https://lore.kernel.org/r/20200915223527.1417033-13-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/dev.c