[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d173d6d2-b9e6-b385-4685-301fc15e2675@kernel.org>
Date: Mon, 13 Mar 2023 08:41:43 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Andi Shyti <andi.shyti@...nel.org>, linux-spi@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Mark Brown <broonie@...nel.org>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: Re: [PATCH] spi: mpc5xxx-psc: Fix compile error
On 12/03/2023 14:39, Andi Shyti wrote:
> Commit 9e21720a4958 ("spi: mpc5xxx-psc: use
> devm_clk_get_enabled() for core clock") has made use of the
> devm_clk_get_enabled(), but it actually forgot to remove a couple
> of goto's, triggering the following compile error:
>
> drivers/spi/spi-mpc512x-psc.c: In function ‘mpc512x_psc_spi_of_probe’:
> drivers/spi/spi-mpc512x-psc.c:518:17: error: label ‘free_ipg_clock’ used but not defined
> 518 | goto free_ipg_clock;
>
> Replace those goto's with actual returns.
https://lore.kernel.org/all/20230310111544.57342-1-andriy.shevchenko@linux.intel.com/
Best regards,
Krzysztof
Powered by blists - more mailing lists