Commit 4de75cf9 authored by Roland Dreier's avatar Roland Dreier Committed by 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: default avatarRoland Dreier <rolandd@cisco.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent b09a75fc
...@@ -461,7 +461,8 @@ parse_dmar_table(void) ...@@ -461,7 +461,8 @@ parse_dmar_table(void)
break; break;
default: default:
printk(KERN_WARNING PREFIX printk(KERN_WARNING PREFIX
"Unknown DMAR structure type\n"); "Unknown DMAR structure type %d\n",
entry_header->type);
ret = 0; /* for forward compatibility */ ret = 0; /* for forward compatibility */
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment