summaryrefslogtreecommitdiff
path: root/board/BuS
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-05-03 23:48:53 +0300
committerTom Rini <trini@konsulko.com>2021-07-07 17:17:54 +0300
commit12e3547f5af9c3da3360c3d547e16a76291a8b59 (patch)
tree3e6d987ffb686a63b6b2671e2e3cbdd6d0a0dace /board/BuS
parent5617efd2c882562b716a61bc0dc0edda46b045df (diff)
downloadu-boot-12e3547f5af9c3da3360c3d547e16a76291a8b59.tar.xz
ARM: mvebu: a38x: Correct mismatched bound warnings
With gcc-11 we see: drivers/ddr/marvell/a38x/ddr3_debug.c:672:47: error: argument 2 of type 'u32[5]' {aka 'unsigned int[5]'} with mismatched bound [-Werror=array-parameter=] 672 | int ddr3_tip_read_adll_value(u32 dev_num, u32 pup_values[MAX_INTERFACE_NUM * MAX_BUS_NUM], | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/ddr/marvell/a38x/ddr3_training_ip_engine.h:10, from drivers/ddr/marvell/a38x/ddr3_init.h:17, from drivers/ddr/marvell/a38x/ddr3_debug.c:6: drivers/ddr/marvell/a38x/ddr3_training_ip_flow.h:116:47: note: previously declared as 'u32[]' {aka 'unsigned int[]'} And similar warnings. Correct these by updating the prototype. Remove the prototype for ddr3_tip_read_pup_value as it is unused. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/BuS')
0 files changed, 0 insertions, 0 deletions