[POWERPC] Fix VDSO compile warning
authorSegher Boessenkool <segher@kernel.crashing.org>
Wed, 16 May 2007 15:12:16 +0000 (01:12 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 14 Jun 2007 12:29:55 +0000 (22:29 +1000)
Maybe the type should have been char[] instead of __u8[]
in the first place, but this will do.

Signed-off-by: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/vdso.c

index 4245579edb4e8ff2de805ba638f4b3982ca80344..cef01e4e898916483f289238e7d4bc3ac79c59bb 100644 (file)
@@ -670,7 +670,7 @@ static int __init vdso_init(void)
        /*
         * Fill up the "systemcfg" stuff for backward compatiblity
         */
-       strcpy(vdso_data->eye_catcher, "SYSTEMCFG:PPC64");
+       strcpy((char *)vdso_data->eye_catcher, "SYSTEMCFG:PPC64");
        vdso_data->version.major = SYSTEMCFG_MAJOR;
        vdso_data->version.minor = SYSTEMCFG_MINOR;
        vdso_data->processor = mfspr(SPRN_PVR);