Skip to content
Commit 67fb57f2 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Greg Kroah-Hartman
Browse files

mailbox: zynq: Switch to flexible array to simplify code



[ Upstream commit 043f85ce ]

Using flexible array is more straight forward. It
  - saves 1 pointer in the 'zynqmp_ipi_pdata' structure
  - saves an indirection when using this array
  - saves some LoC and avoids some always spurious pointer arithmetic

Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
Stable-dep-of: f72f805e ("mailbox: zynqmp: Fix counts of child nodes")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c4e636f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment