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
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
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:
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-
4 matches
Mail list logo