powerpc/cell/iommu: Improve error message for missing node
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 6 May 2013 02:03:49 +0000 (12:03 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 6 May 2013 02:03:49 +0000 (12:03 +1000)
commit342d6666f7276723e418b91c885b0c03f02eeaaf
tree6401ba9f7b6256de0aa688f39dbf387d94183b66
parent96cf3f66debbff7bc880ea747c10eef2d977a6fe
powerpc/cell/iommu: Improve error message for missing node

Some devices don't have a correct node ID and thus can't be
attached to an iommu.

The message displayed by the iommu code isn't very useful if
you don't have a device-tree node as it tries to print the
device-tree path but not the struct device name.

Improve this by printing the device name as well.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/cell/iommu.c