Re: [PATCH 8/14] FRV: GP-REL data support

From: Andrew Morton
Date: Tue Nov 02 2004 - 02:25:27 EST




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@xxxxxxxx>
---

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/