sparse breakage (x86_64: Add vDSO for x86-64 with gettimeofday/clock_gettime/getcpu)

From: Alexey Dobriyan
Date: Sun Jul 22 2007 - 12:08:37 EST


Andi, with new vDSO code sparse fails to check with usual invocation here:

$ make C=2 CF="-Wno-decl -Wno-shadow -Wno-context -D__CHECK_ENDIAN__"
...
CHECK arch/x86_64/vdso/vclock_gettime.c
arch/x86_64/vdso/vclock_gettime.c:51:11: error: expected structure or union
arch/x86_64/vdso/vclock_gettime.c:47:28: error: expected structure or union
arch/x86_64/vdso/vclock_gettime.c:48:20: error: expected structure or union
arch/x86_64/vdso/vclock_gettime.c:49:21: error: expected structure or union
arch/x86_64/vdso/vclock_gettime.c:38:14: error: expected structure or union
arch/x86_64/vdso/vclock_gettime.c:39:25: error: expected structure or union
arch/x86_64/vdso/vclock_gettime.c:80:11: error: expected structure or union
arch/x86_64/vdso/vclock_gettime.c:75:28: error: expected structure or union
arch/x86_64/vdso/vclock_gettime.c:76:14: error: expected structure or union
arch/x86_64/vdso/vclock_gettime.c:77:12: error: expected structure or union
arch/x86_64/vdso/vclock_gettime.c:78:15: error: expected structure or union
arch/x86_64/vdso/vclock_gettime.c:79:13: error: expected structure or union
arch/x86_64/vdso/vclock_gettime.c:87:6: error: expected structure or union
arch/x86_64/vdso/vclock_gettime.c:102:6: error: expected structure or union
arch/x86_64/vdso/vclock_gettime.c:111:4: error: expected structure or union
arch/x86_64/vdso/vclock_gettime.c:111:4: error: expected structure or union
CC arch/x86_64/vdso/vclock_gettime.o
cc1: error: unrecognized command line option "-Wno-decl"
cc1: error: unrecognized command line option "-Wno-context"
make[2]: *** [arch/x86_64/vdso/vclock_gettime.o] Error 1
make[1]: *** [arch/x86_64/vdso] Error 2
make: *** [_all] Error 2

-
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/