Patch "thermal/drivers/hisi: Remove bogus const from function return type" has been added to the 4.15-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
thermal/drivers/hisi: Remove bogus const from function return type
to the 4.15-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
thermal-drivers-hisi-remove-bogus-const-from-function-return-type.patch
and it can be found in the queue-4.15 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Mon Apr 9 10:16:32 CEST 2018
From: Geert Uytterhoeven <[email protected]>
Date: Sun, 19 Nov 2017 12:04:27 +0100
Subject: thermal/drivers/hisi: Remove bogus const from function return type
From: Geert Uytterhoeven <[email protected]>
[ Upstream commit d0ecbbbe518e1b256fcda1770ec06a5a1a058567 ]
With gcc-4.1.2:
drivers/thermal/hisi_thermal.c: In function ‘hisi_thermal_probe’:
drivers/thermal/hisi_thermal.c:530: warning: type qualifiers ignored on function return type
Remove the "const" keyword to fix this.
--- drivers/thermal/hisi_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/hisi_thermal.c +1 -1
@@ -527,7 +527,7 @@ static void hisi_thermal_toggle_sensor(sstatic int hisi_thermal_probe (struct platform_device *pdev) {struct hisi_thermal_data *data; -int const (*platform_probe)(struct hisi_thermal_data *); +int (*platform_probe)(struct hisi_thermal_data *);struct device *dev = &pdev->dev;int ret;
Patches currently in stable-queue which might be from [email protected] are
queue-4.15/thermal-drivers-hisi-remove-bogus-const-from-function-return-type.patch queue-4.15/vfb-fix-video-mode-and-line_length-being-set-when-loaded.patch