提交 4de75cf9 编写于 作者: R Roland Dreier 提交者: David Woodhouse

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: NRoland Dreier <rolandd@cisco.com>
Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
上级 b09a75fc
......@@ -461,7 +461,8 @@ parse_dmar_table(void)
break;
default:
printk(KERN_WARNING PREFIX
"Unknown DMAR structure type\n");
"Unknown DMAR structure type %d\n",
entry_header->type);
ret = 0; /* for forward compatibility */
break;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册