]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit91d0819f6d774efd93cfe913b35a1401ef6e2183
tree6401ba9f7b6256de0aa688f39dbf387d94183b66
parent91a37852a562bc873dc133c3d8bf67a5b37a2671
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