
<		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)
>			goto error;
>
>		if (!iommu_init_table(tbl, ppci->phb->node, 0, 0))
>			panic("Failed to initialize iommu table");
>
>		iommu_register_group(ppci->table_group,
>		return;
>
>	error:
>		pr_err("Invalid pointers detected\n");
>		return;
