Bug 52051 - include/linux/iommu.h should #include include/linux/err.h?
Summary: include/linux/iommu.h should #include include/linux/err.h?
Status: RESOLVED INVALID
Alias: None
Product: Other
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 low
Assignee: other_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-27 10:14 UTC by Oliver Lange
Modified: 2013-01-02 14:51 UTC (History)
3 users (show)

See Also:
Kernel Version: 3.6.11, 3.7.1...
Subsystem:
Regression: No
Bisected commit-id:


Attachments

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

Note You need to log in before you can comment on or make changes to this bug.