[linux-yocto] [V2][[kernel v5.2/standard/xlnx-soc]][PATCH 0/3] xililnx-zynqmp: fix compile warning in zynqmp platform
quanyang.wang at windriver.com
quanyang.wang at windriver.com
Mon Nov 4 07:01:03 PST 2019
From: Quanyang Wang <quanyang.wang at windriver.com>
Hi Bruce & Michal,
In V1 patch, I define the maximum length of data buffer to 12. But when
I try to search if there is existing macro defined for the maxium length,
I find that the maximum length should be 32.
In drivers/remoteproc/zynqmp_r5_remoteproc.c, it use IPI_BUF_LEN_MAX which is defined as 32.
In drivers/mailbox/zynqmp-ipi-mailbox.c, it will use the "size" property value (0x20)
of "local_request_region" node in ./arch/arm64/boot/dts/xilinx/zynqmp.dtsi.
So change the value from 12 to 32 in V2 patch.
Thanks,
Quanyang
Quanyang Wang (1):
drivers: soc: xilinx: fix compile warning by defining payload array
length to 32
drivers/remoteproc/zynqmp_r5_remoteproc.c | 2 --
drivers/soc/xilinx/zynqmp_power.c | 2 +-
include/linux/mailbox/zynqmp-ipi-message.h | 3 +++
3 files changed, 4 insertions(+), 3 deletions(-)
--
2.17.1
More information about the linux-yocto
mailing list