lkml.org 
[lkml]   [2005]   [Mar]   [19]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[patch 08/10] arch/i386/kernel/apm.c: fix sparse warnings
From domen@coderock ...
DateSat, 19 Mar 2005 14:17:38 +0100


Signed-off-by: Domen Puncer <domen@coderock.org>
---

 kj-domen/arch/i386/kernel/apm.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
diff -puN arch/i386/kernel/apm.c~sparse-arch_i386_kernel_apm arch/i386/kernel/apm.c
--- kj/arch/i386/kernel/apm.c~sparse-arch_i386_kernel_apm	2005-03-18 20:05:19.000000000 +0100
+++ kj-domen/arch/i386/kernel/apm.c	2005-03-18 20:05:19.000000000 +0100
@@ -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;
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:11    [from the cache]
©2003-2008