Bug#318979: asm-sparc/fbio.h uses __user but does not include linux/compiler.h
Package: linux-kernel-headers
Version: 2.6.12.0-1
Severity: serious
Hello,
on SPARC, the following change was made to the files
/usr/include/asm-sparc{,64}/fbio.h between linux-kernel-headers
2.5.999-test7-bk-17 and 2.6.12.0-1:
struct fbcmap {
int index; /* first element (0 origin) */
int count;
- unsigned char *red;
- unsigned char *green;
- unsigned char *blue;
+ unsigned char __user *red;
+ unsigned char __user *green;
+ unsigned char __user *blue;
};
However, only asm-sparc64/fbio.h got added a line #including
<linux/compiler.h>, where __user is defined, causing gcc to fail on
programs that include asm-sparc/fbio.h.
This has already affected some autobuilders (e.g., [1]), so please
upload a fixed linux-kernel-headers package soon to address this
issue.
[1] http://buildd.debian.org/fetch.php?&pkg=xorg-x11&ver=6.8.2.dfsg.1-3&arch=sparc&stamp=1121723761&file=log&as=raw
I've filed this bug at Severity: serious in agreement with the Release
Team.
Thanks!
--
Adeodato Simó
EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
Everything you read in newspapers is absolutely true, except for that
rare story of which you happen to have first-hand knowledge.
-- Erwin Knoll
Reply to: