[PATCH 2/2] ARM: imx: bootaux: Fix LTO -Wlto-type-mismatch

2023-01-31 Thread sbabic
> Commit 56c2dbdabab5 ("imx: bootaux: cleanup code") introduces the > following LTO related warning: > " > arch/arm/mach-imx/imx_bootaux.c:24:31: warning: type of ‘hostmap’ does not > match original declaration [-Wlto-type-mismatch] >24 | const __weak struct rproc_att hostmap[] = { }; >

Re: [PATCH 2/2] ARM: imx: bootaux: Fix LTO -Wlto-type-mismatch

2022-12-12 Thread Peng Fan
On 12/13/2022 12:46 PM, Marek Vasut wrote: Commit 56c2dbdabab5 ("imx: bootaux: cleanup code") introduces the following LTO related warning: " arch/arm/mach-imx/imx_bootaux.c:24:31: warning: type of ‘hostmap’ does not match original declaration [-Wlto-type-mismatch] 24 | const __weak

[PATCH 2/2] ARM: imx: bootaux: Fix LTO -Wlto-type-mismatch

2022-12-12 Thread Marek Vasut
Commit 56c2dbdabab5 ("imx: bootaux: cleanup code") introduces the following LTO related warning: " arch/arm/mach-imx/imx_bootaux.c:24:31: warning: type of ‘hostmap’ does not match original declaration [-Wlto-type-mismatch] 24 | const __weak struct rproc_att hostmap[] = { }; |