lkml.org 
[lkml]   [2004]   [Nov]   [2]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateTue, 2 Nov 2004 00:18:24 -0800
FromAndrew Morton <>
SubjectRe: [PATCH 8/14] FRV: GP-REL data support

security/security.c: In function `do_security_initcalls':
security/security.c:41: warning: assignment from incompatible pointer type
security/security.c:42: warning: comparison of distinct pointer types lacks a cast


Signed-off-by: Andrew Morton <akpm@osdl.org>
---
 25-akpm/security/security.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff -puN security/security.c~frv-gp-rel-data-support-fix security/security.c
--- 25/security/security.c~frv-gp-rel-data-support-fix	2004-11-01 23:25:22.304641064 -0800
+++ 25-akpm/security/security.c	2004-11-01 23:25:49.663481888 -0800
@@ -38,8 +38,8 @@ static inline int verify(struct security
 static void __init do_security_initcalls(void)
 {
 	initcall_t *call;
-	call = &__security_initcall_start;
-	while (call < &__security_initcall_end) {
+	call = __security_initcall_start;
+	while (call < __security_initcall_end) {
 		(*call) ();
 		call++;
 	}
_
-
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:07    [from the cache]
©2003-2008