Re: [PATCH] video: fbdev: atmel: fix warning for const return value

2015-08-20 Thread Tomi Valkeinen
On 07/08/15 08:22, Sudip Mukherjee wrote: > On Mon, Jul 27, 2015 at 10:41:41AM -0500, Rob Herring wrote: >> A const on a return value is meaningless and generates a warning on some >> versions of gcc: >> >> drivers/video/fbdev/atmel_lcdfb.c:1003: warning: type qualifiers ignored on >> function re

Re: [PATCH] video: fbdev: atmel: fix warning for const return value

2015-08-06 Thread Sudip Mukherjee
On Mon, Jul 27, 2015 at 10:41:41AM -0500, Rob Herring wrote: > A const on a return value is meaningless and generates a warning on some > versions of gcc: > > drivers/video/fbdev/atmel_lcdfb.c:1003: warning: type qualifiers ignored on > function return type maybe this one should have been static

Re: [PATCH] video: fbdev: atmel: fix warning for const return value

2015-07-27 Thread Nicolas Ferre
Le 27/07/2015 17:41, Rob Herring a écrit : > A const on a return value is meaningless and generates a warning on some > versions of gcc: > > drivers/video/fbdev/atmel_lcdfb.c:1003: warning: type qualifiers ignored on > function return type > > This was found on 0-day with avr32 builds with CONFI