Bug 52051

Summary: include/linux/iommu.h should #include include/linux/err.h?
Product: Other Reporter: Oliver Lange (bloody)
Component: OtherAssignee: other_other
Status: RESOLVED INVALID    
Severity: low CC: alan, kernel, tomwij
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.6.11, 3.7.1... Subsystem:
Regression: No Bisected commit-id:

Description Oliver Lange 2012-12-27 10:14:02 UTC
Hi there,

The file "include/linux/iommu.h" makes use of function ERR_PTR() but appears to not include "include/linux/err.h" directly or indirectly (where ERR_PTR() is defined).

I ran into this issue while trying to build virtualbox-modules on Gentoo Linux with kernel version 3.6.11, but it looks like there is still no reference in kernel 3.7.1 either.

I was asked to forward this for clarification here, so here i am.. :P

Cheers,

Oliver.
Comment 1 Tom Wijsman 2012-12-27 11:22:00 UTC
Downstream bug at https://bugs.gentoo.org/show_bug.cgi?id=448784
Comment 2 Alan 2013-01-02 14:51:11 UTC
So virtualbox should include both files