diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-05-03 16:49:09 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2021-05-06 09:24:06 +0200 |
commit | 4cc7faa406975b460aa674606291dea197c1210c (patch) | |
tree | 65a3b72d313c913bcc36fb8ef426d8492ad11021 /net/bluetooth/rfcomm/Kconfig | |
parent | smc: disallow TCP_ULP in smc_setsockopt() (diff) | |
download | linux-4cc7faa406975b460aa674606291dea197c1210c.tar.xz linux-4cc7faa406975b460aa674606291dea197c1210c.zip |
can: mcp251xfd: mcp251xfd_probe(): fix an error pointer dereference in probe
When we converted this code to use dev_err_probe() we accidentally
removed a return. It means that if devm_clk_get() it will lead to an
Oops when we call clk_get_rate() on the next line.
Fixes: cf8ee6de2543 ("can: mcp251xfd: mcp251xfd_probe(): use dev_err_probe() to simplify error handling")
Link: https://lore.kernel.org/r/YJANZf13Qxd5Mhr1@mwanda
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/bluetooth/rfcomm/Kconfig')
0 files changed, 0 insertions, 0 deletions