mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-16 14:08:45 +00:00
soc: xilinx: zynqmp: fix out of bounds array access
The call to xilinx_pm_request requires an array of a larger size. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Link: https://lore.kernel.org/r/5f1409de285d7454af171a54e5f115da9d82c44e.1650440343.git.michal.simek@xilinx.com
This commit is contained in:
parent
9b31e109b2
commit
303198e26d
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ static const struct soc_ops soc_xilinx_zynqmp_ops = {
|
|||
static int soc_xilinx_zynqmp_probe(struct udevice *dev)
|
||||
{
|
||||
struct soc_xilinx_zynqmp_priv *priv = dev_get_priv(dev);
|
||||
u32 ret_payload[4];
|
||||
u32 ret_payload[PAYLOAD_ARG_CNT];
|
||||
int ret;
|
||||
|
||||
priv->family = zynqmp_family;
|
||||
|
|
Loading…
Add table
Reference in a new issue