commit | 6b74f68fcf06a3de6f5ac49f39e60a42bd3e78dc | [log] [tgz] |
---|---|---|
author | Alexandru Elisei <alexandru.elisei@arm.com> | Tue Jul 13 18:06:29 2021 +0100 |
committer | Will Deacon <will@kernel.org> | Fri Jul 16 16:02:34 2021 +0100 |
tree | 3e906591522c5b497871c3075f0d7b9d76e69bbf | |
parent | 070fb918a563f5b25902419231e595f3c98b30ae [diff] |
arm/fdt.c: Don't generate the node if generator function is NULL Print a more helpful debugging message when a MMIO device hasn't set a function to generate an FDT node instead of causing a segmentation fault by dereferencing a NULL pointer. Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com> Link: https://lore.kernel.org/r/20210713170631.155595-3-alexandru.elisei@arm.com Signed-off-by: Will Deacon <will@kernel.org>