On Mon, Nov 4, 2019 at 10:01 AM <quanyang.w...@windriver.com> wrote:
>
> From: Quanyang Wang <quanyang.w...@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.
>

v2 is merged.

Bruce

> 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
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to