
<		if (!iommu_init_table(tbl, ppci->phb->node, 0, 0))
<			panic("Failed to initialize iommu table");
<
<		iommu_register_group(ppci->table_group,
---
>		if (tbl && ppci->phb && ppci->table_group) {
>			if (!iommu_init_table(tbl, ppci->phb->node, 0, 0))
>				panic("Failed to initialize iommu table");
>
>			iommu_register_group(ppci->table_group,
>		} else {
>			pr_err("Invalid pointers detected\n");
>			return;
>		}
