iommu/amd: Fix features reporting
authorBorislav Petkov <borislav.petkov@amd.com>
Fri, 28 Sep 2012 14:22:26 +0000 (16:22 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 28 Sep 2012 14:27:36 +0000 (16:27 +0200)
commit500c25edda62a5d39c4d3b345c2e229a3f9d26be
tree9240ab6a09cfc16640744614743734879eef588a
parentdf805abb28fa49514ab8e231d4be3d30a76a32fb
iommu/amd: Fix features reporting

When the AMD IOMMU doesn't have extended features, an empty line
gets issued in dmesg like so:

[    3.061417] AMD-Vi: Found IOMMU at 0000:00:00.2 cap 0x40
[    3.066757]  <---
[    3.068294] pci 0000:00:00.2: irq 72 for MSI/MSI-X
[    3.081213] AMD-Vi: Lazy IO/TLB flushing enabled

Fix it.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/amd_iommu_init.c