From: Greg Kroah-Hartman Date: Wed, 2 Oct 2024 12:47:08 +0000 (+0200) Subject: 5.15-stable patches X-Git-Tag: v6.6.54~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=20f83366994dd78908a805ea45d827a6f835b0c5;p=thirdparty%2Fkernel%2Fstable-queue.git 5.15-stable patches added patches: spi-lpspi-simplify-some-error-message.patch --- diff --git a/queue-5.15/series b/queue-5.15/series index 7674284633b..67f0cc412ac 100644 --- a/queue-5.15/series +++ b/queue-5.15/series @@ -359,3 +359,4 @@ mm-only-enforce-minimum-stack-gap-size-if-it-s-sensible.patch i2c-aspeed-update-the-stop-sw-state-when-the-bus-recovery-occurs.patch i2c-isch-add-missed-else.patch usb-yurex-fix-inconsistent-locking-bug-in-yurex_read.patch +spi-lpspi-simplify-some-error-message.patch diff --git a/queue-5.15/spi-lpspi-simplify-some-error-message.patch b/queue-5.15/spi-lpspi-simplify-some-error-message.patch new file mode 100644 index 00000000000..96589c77aab --- /dev/null +++ b/queue-5.15/spi-lpspi-simplify-some-error-message.patch @@ -0,0 +1,34 @@ +From 0df874c6712d9aa8f43c50ec887a21f7b86fc917 Mon Sep 17 00:00:00 2001 +From: Christophe JAILLET +Date: Fri, 5 Aug 2022 23:39:19 +0200 +Subject: spi: lpspi: Simplify some error message + +From: Christophe JAILLET + +commit 0df874c6712d9aa8f43c50ec887a21f7b86fc917 upstream. + +dev_err_probe() already prints the error code in a human readable way, so +there is no need to duplicate it as a numerical value at the end of the +message. + +Fixes: 12f62a857c83 ("spi: lpspi: Silence error message upon deferred probe") +Signed-off-by: Christophe JAILLET +Acked-By: Alexander Stein +Link: https://lore.kernel.org/r/253543c462b765eca40ba54c66f4e3fdf4acdeb7.1659735546.git.christophe.jaillet@wanadoo.fr +Signed-off-by: Mark Brown +Signed-off-by: Greg Kroah-Hartman +--- + drivers/spi/spi-fsl-lpspi.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/spi/spi-fsl-lpspi.c ++++ b/drivers/spi/spi-fsl-lpspi.c +@@ -919,7 +919,7 @@ static int fsl_lpspi_probe(struct platfo + + ret = devm_spi_register_controller(&pdev->dev, controller); + if (ret < 0) { +- dev_err_probe(&pdev->dev, ret, "spi_register_controller error: %i\n", ret); ++ dev_err_probe(&pdev->dev, ret, "spi_register_controller error\n"); + goto free_dma; + } +