aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/dmar.c
diff options
context:
space:
mode:
authorRoland Dreier <rdreier@cisco.com>2009-09-23 20:01:29 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-09-23 20:31:27 -0400
commit4de75cf9391b538bbfe7dc0a9782f1ebe8e242ad (patch)
treee9ddd0d95767fd2868498e7e86305e579d9fe8ec /drivers/pci/dmar.c
parentb09a75fc5e77b7c58d097236f89b1ff72dcdb562 (diff)
intel-iommu: Make "Unknown DMAR structure" message more informative
We might as well print the type of the DMAR structure we don't know how to handle when skipping it. Then someone getting this message has a chance of telling whether the structure is just bogus, or if there really is something valid that the kernel doesn't know how to handle. Signed-off-by: Roland Dreier <rolandd@cisco.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/pci/dmar.c')
-rw-r--r--drivers/pci/dmar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/dmar.c b/drivers/pci/dmar.c
index 14bbaa17e2ca..d199bcabed75 100644
--- a/drivers/pci/dmar.c
+++ b/drivers/pci/dmar.c
@@ -461,7 +461,8 @@ parse_dmar_table(void)
461 break; 461 break;
462 default: 462 default:
463 printk(KERN_WARNING PREFIX 463 printk(KERN_WARNING PREFIX
464 "Unknown DMAR structure type\n"); 464 "Unknown DMAR structure type %d\n",
465 entry_header->type);
465 ret = 0; /* for forward compatibility */ 466 ret = 0; /* for forward compatibility */
466 break; 467 break;
467 } 468 }