[PATCH 5/6] arm: zynq: Pass the missing argument type in function definition

Michal Simek michal.simek at amd.com
Mon Jun 12 08:41:23 CEST 2023



On 6/9/23 11:22, Ashok Reddy Soma wrote:
> From: Algapally Santosh Sagar <santoshsagar.algapally at amd.com>
> 
> Pass missing argument type in the function definition to fix the
> sparse warning, warning: old-style function definition
> [-Wold-style-definition]
> 
> Signed-off-by: Algapally Santosh Sagar <santoshsagar.algapally at amd.com>
> Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma at amd.com>
> ---
> 
>   board/xilinx/zynq/zynq-zc706/ps7_init_gpl.c | 4 ++--

I see the same thing also

board/xilinx/zynq/zynq-microzed/ps7_init_gpl.c:12430:ps7_init()
board/xilinx/zynq/zynq-zc702/ps7_init_gpl.c:12763:ps7_init()
board/xilinx/zynq/zynq-zc706/ps7_init_gpl.c:12670:ps7_init()
board/xilinx/zynq/zynq-zed/ps7_init_gpl.c:12328:ps7_init()

board/xilinx/zynq/zynq-microzed/ps7_init_gpl.c:12411:ps7_post_config()
board/xilinx/zynq/zynq-zc702/ps7_init_gpl.c:12744:ps7_post_config()
board/xilinx/zynq/zynq-zc706/ps7_init_gpl.c:12651:ps7_post_config()
board/xilinx/zynq/zynq-zed/ps7_init_gpl.c:12309:ps7_post_config()

Thanks,
Michal


More information about the U-Boot mailing list