[PATCH AUTOSEL for 4.15 030/124] thermal/drivers/hisi: Remove bogus const from function return type

2018-03-19 Thread Sasha Levin
From: Geert Uytterhoeven [ 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" keywo

Re: [PATCH] thermal/drivers/hisi: Remove bogus const from function return type

2018-01-02 Thread Eduardo Valentin
On Tue, Jan 02, 2018 at 12:44:29PM +0100, Arnd Bergmann wrote: > On Sun, Nov 19, 2017 at 12:04 PM, Geert Uytterhoeven > wrote: > > With gcc-4.1.2: > > > > drivers/thermal/hisi_thermal.c: In function ‘hisi_thermal_probe’: > > drivers/thermal/hisi_thermal.c:530: warning: type qualifiers igno

Re: [PATCH] thermal/drivers/hisi: Remove bogus const from function return type

2018-01-02 Thread Arnd Bergmann
On Sun, Nov 19, 2017 at 12:04 PM, Geert Uytterhoeven wrote: > 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.

Re: thermal/drivers/hisi: Remove bogus const from function return type

2018-01-01 Thread Geert Uytterhoeven
Hi Eduardo, On Mon, Jan 1, 2018 at 7:21 PM, Eduardo Valentin wrote: > On Sun, Nov 19, 2017 at 12:04:27PM +0100, Geert Uytterhoeven wrote: >> With gcc-4.1.2: >> >> drivers/thermal/hisi_thermal.c: In function ‘hisi_thermal_probe’: >> drivers/thermal/hisi_thermal.c:530: warning: type qualifi

Re: thermal/drivers/hisi: Remove bogus const from function return type

2018-01-01 Thread Eduardo Valentin
Hello Geert, On Sun, Nov 19, 2017 at 12:04:27PM +0100, Geert Uytterhoeven wrote: > 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

[PATCH] thermal/drivers/hisi: Remove bogus const from function return type

2017-11-19 Thread Geert Uytterhoeven
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. Fixes: a160a465297362c5 ("thermal/drivers/hisi: Prepare to add support f