Bug 6345
Summary: | Errors in headers, typedef's and function used outside __KERNEL__ scope | ||
---|---|---|---|
Product: | Other | Reporter: | Jerry Lundstr (jerry.lundstrom) |
Component: | Other | Assignee: | Sam Ravnborg (sam) |
Status: | CLOSED CODE_FIX | ||
Severity: | high | CC: | dwmw2 |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.16.1 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
Patch for input.h
Patch for bitops.h Patch for processor.h |
Description
Jerry Lundstr
2006-04-07 04:33:39 UTC
Created attachment 7798 [details]
Patch for input.h
Created attachment 7799 [details]
Patch for bitops.h
Created attachment 7800 [details]
Patch for processor.h
linux/input.h was reported 2006-03-29 http://bugzilla.kernel.org/show_bug.cgi?id=6302 . These patches are only temporary, from the looks of things there is surlly alot more "misstakes" in the headers. David Woodhouse has initiated an effort to create user-space clean header. See the headers* targets in recent kernel snapshot. As part f this effort the below files will be (or are already cleaned up). David - please let me know if can close this bug. /Sam input.h is fixed; bitops.h and processor.h are not visible to userspace. If the reporter wants to file any more _specific_ bugs, please go ahead -- but I think this bug can probably be closed. The issues reported are either already covered or not suitable for userspace. So the ticket is closed. /Sam Yes this can be kept closed, latest headers are fine (been on holliday so sorry for the late answer). The problem wasnt that things are not usable/visible within userspace, problem was that the old headers exported kernel space items into userspace or visa versa (ie missing ifdef __KERNEL__). |