can: mcp25xxfd: mcp25xxfd_irq(): add missing initialization of variable set_normal...
authorMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 23 Sep 2020 11:44:36 +0000 (13:44 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 30 Sep 2020 08:34:30 +0000 (10:34 +0200)
commit727fba74b51175972b72dc26d225833b977a69f7
tree3bffc962e2169a758532b08e60abb49791531d2e
parent8cffc6fe65108e66c8cfe46307bf2325a4434056
can: mcp25xxfd: mcp25xxfd_irq(): add missing initialization of variable set_normal mode

This patch fixes the following warning:

    drivers/net/can/spi/mcp25xxfd/mcp25xxfd-core.c:2155 mcp25xxfd_irq()
    error: uninitialized symbol 'set_normal_mode'.

by adding the missing initialization.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Fixes: 55e5b97f003e ("can: mcp25xxfd: add driver for Microchip MCP25xxFD SPI CAN")
Link: https://lore.kernel.org/r/20200923114726.2704426-1-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/spi/mcp25xxfd/mcp25xxfd-core.c