summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorZijun Hu <quic_zijuhu@quicinc.com>2025-01-09 21:27:00 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-17 10:05:13 +0100
commit5b91440ebef9c4fd1cb34372f71e9695faad3350 (patch)
tree433de5e94d12852815b5966f902f874e76d9c845 /scripts/stackusage
parent4e4b3d4926734eb09edde556fb7977bdfa1256b3 (diff)
downloadlinux-5b91440ebef9c4fd1cb34372f71e9695faad3350.tar.gz
linux-5b91440ebef9c4fd1cb34372f71e9695faad3350.tar.bz2
linux-5b91440ebef9c4fd1cb34372f71e9695faad3350.zip
of: reserved-memory: Fix using wrong number of cells to get property 'alignment'
commit 267b21d0bef8e67dbe6c591c9991444e58237ec9 upstream. According to DT spec, size of property 'alignment' is based on parent node’s #size-cells property. But __reserved_mem_alloc_size() wrongly uses @dt_root_addr_cells to get the property obviously. Fix by using @dt_root_size_cells instead of @dt_root_addr_cells. Fixes: 3f0c82066448 ("drivers: of: add initialization code for dynamic reserved memory") Cc: stable@vger.kernel.org Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com> Link: https://lore.kernel.org/r/20250109-of_core_fix-v4-9-db8a72415b8c@quicinc.com Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions