OSDN Git Service

can: flexcan: flexcan_clks_enable(): add missing variable initialization
authorMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 28 Jul 2021 07:51:42 +0000 (09:51 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 4 Aug 2021 10:11:56 +0000 (12:11 +0200)
commit3362666972137724496984b4db2b06071aca4b69
tree4b45e86be15812934069575ca807c1ae2c31fbbc
parent5b9272e93f2efe3f6cda60cc2c26817b2ce49386
can: flexcan: flexcan_clks_enable(): add missing variable initialization

This patch adds the missing initialization of the "err" variable in
the flexcan_clks_enable() function.

Fixes: d9cead75b1c6 ("can: flexcan: add mcf5441x support")
Link: https://lore.kernel.org/r/20210728075428.1493568-1-mkl@pengutronix.de
Reported-by: kernel test robot <lkp@intel.com>
Cc: Angelo Dureghello <angelo@kernel-space.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan.c