iommu/vt-d: Zero out allocated memory in dmar_enable_qi
kmemcheck complained about the use of uninitialized memory. Fix by using kzalloc instead of kmalloc. Cc: David Woodhouse <dwmw2@infradead.org> Signed-off-by: NHannes Reinecke <hare@suse.de> Signed-off-by: NJoerg Roedel <joro@8bytes.org>
Showing
想要评论请 注册 或 登录