Re: [U-Boot] [PATCH] arm: zynq: Remove double const qualifier

2017-11-21 Thread Alex Sadovsky
Hi Michal, I'm sorry to disturb you and others but it looks like you've removed a bit too much. There are two different types of usage of the "const" modifier in the areas that are touched by your patch: 1) for function prototypes/implementation - "const" before the function name is senseless, fun

Re: [U-Boot] [PATCH] arm: zynq: Remove double const qualifier

2017-11-20 Thread Michal Simek
On 20.11.2017 16:39, Simon Glass wrote: > Hi Michal, > > On 10 November 2017 at 06:07, Michal Simek wrote: >> The patch fix these warnings: >> include/fpga.h:56:24: warning: type qualifiers ignored on function >> return type [-Wignored-qualifiers] >> const fpga_desc *const fpga_get_desc(int devn

Re: [U-Boot] [PATCH] arm: zynq: Remove double const qualifier

2017-11-20 Thread Simon Glass
Hi Michal, On 10 November 2017 at 06:07, Michal Simek wrote: > The patch fix these warnings: > include/fpga.h:56:24: warning: type qualifiers ignored on function > return type [-Wignored-qualifiers] > const fpga_desc *const fpga_get_desc(int devnum); > ^ > include/fpga.h:

[U-Boot] [PATCH] arm: zynq: Remove double const qualifier

2017-11-10 Thread Michal Simek
The patch fix these warnings: include/fpga.h:56:24: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const fpga_desc *const fpga_get_desc(int devnum); ^ include/fpga.h:65:24: warning: type qualifiers ignored on function return type [-Wignored-