]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
5.10-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Oct 2024 12:46:58 +0000 (14:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Oct 2024 12:46:58 +0000 (14:46 +0200)
added patches:
spi-lpspi-simplify-some-error-message.patch

queue-5.10/series
queue-5.10/spi-lpspi-simplify-some-error-message.patch [new file with mode: 0644]

index 41f5a9d1259a7c7b93a5d94e26285f8c432f8829..c62feec1eaf6cccbeb13349039cbc48260504fe9 100644 (file)
@@ -273,3 +273,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.10/spi-lpspi-simplify-some-error-message.patch b/queue-5.10/spi-lpspi-simplify-some-error-message.patch
new file mode 100644 (file)
index 0000000..96589c7
--- /dev/null
@@ -0,0 +1,34 @@
+From 0df874c6712d9aa8f43c50ec887a21f7b86fc917 Mon Sep 17 00:00:00 2001
+From: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
+Date: Fri, 5 Aug 2022 23:39:19 +0200
+Subject: spi: lpspi: Simplify some error message
+
+From: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
+
+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 <christophe.jaillet@wanadoo.fr>
+Acked-By: Alexander Stein <alexander.stein@ew.tq-group.com>
+Link: https://lore.kernel.org/r/253543c462b765eca40ba54c66f4e3fdf4acdeb7.1659735546.git.christophe.jaillet@wanadoo.fr
+Signed-off-by: Mark Brown <broonie@kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ 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;
+       }