From c280c407997958f96b5b149f56ccf6f1e4e90f7d Mon Sep 17 00:00:00 2001 From: Russell King <rmk@flint.arm.linux.org.uk> Date: Tue, 14 Sep 2004 00:28:23 +0100 Subject: [PATCH] [ARM] Fix ARM APM emulation sparse errors arch/arm/kernel/apm.c:57:16: warning: dubious one-bit signed bitfield arch/arm/kernel/apm.c:58:17: warning: dubious one-bit signed bitfield arch/arm/kernel/apm.c:59:17: warning: dubious one-bit signed bitfield arch/arm/kernel/apm.c:60:23: warning: dubious one-bit signed bitfield --- arch/arm/kernel/apm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/kernel/apm.c b/arch/arm/kernel/apm.c index a64f78defdd4..b2d42cb8490c 100644 --- a/arch/arm/kernel/apm.c +++ b/arch/arm/kernel/apm.c @@ -54,10 +54,10 @@ struct apm_user { struct list_head list; - 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; -- 2.30.9