From: Quanyang Wang <[email protected]>
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
--
_______________________________________________
linux-yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/linux-yocto