Re: [linux-yocto] [PATCH 2/3] drivers: soc: xilinx: fix compile warning by defining payload array length to 12

2019-11-04 Thread Quanyang Wang
Hi Michal, On 11/4/19 7:51 PM, Michal Simek wrote: On 29. 10. 19 8:56, quanyang.w...@windriver.com wrote: From: Quanyang Wang In include/linux/mailbox/zynqmp-ipi-message.h, it says that the maximum length of data buffer is fixed to 12 bytes. So define payload array length to 12 to fix

[linux-yocto] [PATCH 2/3] drivers: soc: xilinx: fix compile warning by defining payload array length to 12

2019-10-29 Thread quanyang.wang
From: Quanyang Wang In include/linux/mailbox/zynqmp-ipi-message.h, it says that the maximum length of data buffer is fixed to 12 bytes. So define payload array length to 12 to fix compile warning as below: drivers/soc/xilinx/zynqmp_power.c:91:2: warning: ISO C90 forbids variable length array