summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDomen Puncer <domen@coderock.org>2005-06-25 23:58:45 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-26 01:24:58 +0200
commit77617bd8068470556049ebcdd0625acc7ab71a2b (patch)
treed777fefbfa9e08dbc0782cd8cde4070b5bdacbb8 /arch
parent[PATCH] arch/i386/kernel/traps.c: fix sparse warnings (diff)
downloadlinux-77617bd8068470556049ebcdd0625acc7ab71a2b.tar.xz
linux-77617bd8068470556049ebcdd0625acc7ab71a2b.zip
[PATCH] arch/i386/kernel/apm.c: fix sparse warnings
Signed-off-by: Alexey Dobriyan <adobriyan@mail.ru> Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/i386/kernel/apm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/i386/kernel/apm.c b/arch/i386/kernel/apm.c
index 0ff65abcd56c..d48ce9290963 100644
--- a/arch/i386/kernel/apm.c
+++ b/arch/i386/kernel/apm.c
@@ -346,10 +346,10 @@ extern int (*console_blank_hook)(int);
struct apm_user {
int magic;
struct apm_user * next;
- int suser: 1;
- int writer: 1;
- int reader: 1;
- int suspend_wait: 1;
+ unsigned int suser: 1;
+ unsigned int writer: 1;
+ unsigned int reader: 1;
+ unsigned int suspend_wait: 1;
int suspend_result;
int suspends_pending;
int standbys_pending;