iommu: fsl_pamu.c: Fix for possible null pointer dereference
iommu: fsl_pamu.c: Fix for possible null pointer dereference

There is otherwise a risk of a possible null pointer dereference.

Was largely found by using a static code analysis program called cppcheck.

Signed-off-by: Rickard Strandqvist <b2870f70e324b62b54eced4cf50284b23ec5baab@spectrumdigital.se>
Reviewed-by: Bharat Bhushan <46879f56595617ba61998690b4cbeb89fd10e7ef@freescale.com>
Acked-by: Varun Sethi <8eab636c9b9895408f88705085b43a8c9babecb7@freescale.com>
Signed-off-by: Joerg Roedel <61aff96566804ea1da8a65de5bcc892ce07caceb@suse.de>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs