From: Domen Puncer Date: Sat, 25 Jun 2005 21:58:45 +0000 (-0700) Subject: [PATCH] arch/i386/kernel/apm.c: fix sparse warnings X-Git-Tag: v2.6.13-rc1~68^2~67 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77617bd8068470556049ebcdd0625acc7ab71a2b;p=linux-2.6 [PATCH] arch/i386/kernel/apm.c: fix sparse warnings Signed-off-by: Alexey Dobriyan Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/i386/kernel/apm.c b/arch/i386/kernel/apm.c index 0ff65abcd5..d48ce92909 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;