[U-Boot] [PATCH] arm: zynq: Remove double const qualifier
Michal Simek
michal.simek at xilinx.com
Tue Nov 21 07:28:20 UTC 2017
On 20.11.2017 16:39, Simon Glass wrote:
> Hi Michal,
>
> On 10 November 2017 at 06:07, Michal Simek <michal.simek at xilinx.com> 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:65:24: warning: type qualifiers ignored on function
>> return type [-Wignored-qualifiers]
>> const fpga_desc *const fpga_validate(int devnum, const void *buf,
>> ^
>> drivers/fpga/fpga.c:41:24: warning: type qualifiers ignored on function
>> return type [-Wignored-qualifiers]
>> const fpga_desc *const fpga_get_desc(int devnum)
>> ^
>> drivers/fpga/fpga.c:58:24: warning: type qualifiers ignored on function
>> return type [-Wignored-qualifiers]
>> const fpga_desc *const fpga_validate(int devnum, const void *buf,
>> ^
>> ...
>>
>> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
>> ---
>>
>> common/image.c | 2 +-
>> drivers/fpga/fpga.c | 8 ++++----
>> include/fpga.h | 6 +++---
>> 3 files changed, 8 insertions(+), 8 deletions(-)
>>
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
>
> Someone should comment those functions in fpga.h
>
> Or perhaps it is moving to driver model soon?
It is just question of time as always.
Thanks,
Michal
More information about the U-Boot
mailing list