Mikael Pettersson
7945d5626c
[SPARC]: sparc64 gcc-4.2.0 20070317 -Werror failure
...
Compiling 2.6.21-rc5 with gcc-4.2.0 20070317 (prerelease)
for sparc64 fails as follows:
gcc -Wp,-MD,arch/sparc64/kernel/.time.o.d -nostdinc -isystem /home/mikpe/pkgs/linux-sparc64/gcc-4.2.0/lib/gcc/sparc64-unknown-linux-gnu/4.2.0/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow -ffixed-g4 -ffixed-g5 -fcall-used-g7 -Wno-sign-compare -Wa,--undeclared-regs -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -Werror -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(time)" -D"KBUILD_MODNAME=KBUILD_STR(time)" -c -o arch/sparc64/kernel/time.o arch/sparc64/kernel/time.c
cc1: warnings being treated as errors
arch/sparc64/kernel/time.c: In function 'kick_start_clock':
arch/sparc64/kernel/time.c:559: warning: overflow in implicit constant conversion
make[1]: *** [arch/sparc64/kernel/time.o] Error 1
make: *** [arch/sparc64/kernel] Error 2
gcc gets unhappy when the MSTK_SET macro's u8 __val variable
is updated with &= ~0xff (MSTK_YEAR_MASK). Making the constant
unsigned fixes the problem.
[ I fixed up the sparc32 side as well -DaveM ]
Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-03-27 01:13:55 -07:00
..
2006-03-20 01:16:36 -08:00
2005-06-07 12:35:43 -07:00
2005-04-16 15:20:36 -07:00
2006-03-20 01:11:43 -08:00
2006-04-26 12:56:16 +01:00
2005-06-27 17:04:45 -07:00
2005-09-07 16:57:21 -07:00
2005-04-16 15:20:36 -07:00
2006-04-26 12:56:16 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-05-01 08:59:01 -07:00
2006-04-26 12:56:16 +01:00
2005-04-16 15:20:36 -07:00
2006-03-23 07:38:10 -08:00
2006-12-13 09:27:08 -08:00
2005-04-16 15:20:36 -07:00
2006-12-02 21:23:23 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-10-04 03:38:54 -04:00
2006-10-22 21:53:30 -07:00
2005-04-16 15:20:36 -07:00
2006-06-20 01:20:00 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-04-26 12:56:16 +01:00
2006-12-01 14:52:01 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-12-07 08:39:41 -08:00
2007-03-05 13:22:28 -08:00
2006-06-23 23:15:43 -07:00
2006-03-20 01:13:26 -08:00
2005-07-26 14:35:41 -07:00
2005-04-16 15:20:36 -07:00
2005-05-01 08:59:06 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-07 16:57:38 -07:00
2006-06-23 23:15:32 -07:00
2007-03-05 13:22:28 -08:00
2005-04-16 15:20:36 -07:00
2006-12-07 08:39:21 -08:00
2006-06-20 01:23:32 -07:00
2006-03-20 01:13:18 -08:00
2006-12-17 14:06:56 -08:00
2006-03-20 01:14:09 -08:00
2006-04-26 12:56:16 +01:00
2006-03-20 01:12:08 -08:00
2006-03-20 01:11:44 -08:00
2006-10-11 11:14:23 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-05-31 16:57:59 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-10-08 12:32:35 -07:00
2007-02-10 23:50:37 -08:00
2006-12-10 02:39:09 -08:00
2006-06-23 23:15:43 -07:00
2006-09-21 08:48:27 +01:00
2006-06-26 09:58:22 -07:00
2005-04-16 15:20:36 -07:00
2006-12-10 02:42:03 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-04-26 12:56:16 +01:00
2006-09-08 08:40:46 -07:00
2006-03-22 01:15:14 -08:00
2006-04-26 12:56:16 +01:00
2005-04-16 15:20:36 -07:00
2007-03-27 01:13:55 -07:00
2005-04-16 15:20:36 -07:00
2006-01-09 15:59:19 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-20 01:14:22 -08:00
2006-12-31 14:06:05 -08:00
2006-07-21 14:17:52 -07:00
2005-04-16 15:20:36 -07:00
2006-07-21 14:17:55 -07:00
2006-09-21 08:48:27 +01:00
2006-04-26 12:56:16 +01:00
2007-03-08 15:00:03 -08:00
2007-02-10 23:50:37 -08:00
2007-03-02 15:22:51 -08:00
2005-04-16 15:20:36 -07:00
2006-12-17 14:06:59 -08:00
2005-04-16 15:20:36 -07:00
2006-12-07 08:39:25 -08:00
2006-09-26 08:48:51 -07:00
2006-06-20 01:20:00 -07:00
2006-03-25 08:22:56 -08:00
2005-04-16 15:20:36 -07:00
2006-04-26 12:56:16 +01:00
2007-03-02 15:22:53 -08:00
2005-04-16 15:20:36 -07:00
2006-03-20 01:13:02 -08:00
2005-11-07 07:53:42 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-12-10 02:39:09 -08:00
2006-06-29 16:37:08 -07:00
2005-04-16 15:20:36 -07:00
2006-03-20 01:11:44 -08:00
2005-07-11 13:44:56 -07:00
2005-04-16 15:20:36 -07:00
2005-10-30 17:37:27 -08:00
2005-04-16 15:20:36 -07:00
2007-02-12 15:15:47 -08:00
2005-08-29 12:45:11 -07:00
2006-07-27 16:49:21 -07:00
2005-04-16 15:20:36 -07:00
2006-09-21 08:48:27 +01:00
2005-04-16 15:20:36 -07:00
2006-04-26 12:56:16 +01:00
2006-10-02 14:30:45 -07:00
2006-04-26 12:56:16 +01:00
2006-06-29 16:58:06 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-20 01:14:22 -08:00
2005-09-10 10:06:21 -07:00
2006-10-01 00:39:21 -07:00
2006-03-20 01:11:39 -08:00
2006-06-29 16:37:08 -07:00
2005-04-18 15:13:15 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-12-10 02:39:09 -08:00
2006-12-08 08:28:56 -08:00
2007-02-11 10:51:26 -08:00
2006-03-20 01:11:33 -08:00
2006-04-26 12:56:16 +01:00
2006-03-20 01:13:29 -08:00
2006-04-26 12:56:16 +01:00
2006-05-06 19:59:18 +01:00
2006-06-27 17:32:45 -07:00
2007-03-16 17:20:28 -07:00
2006-12-10 02:39:09 -08:00
2005-09-05 00:05:48 -07:00
2006-03-20 01:13:28 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2007-03-12 19:58:18 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-06-22 15:05:58 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-20 01:14:03 -08:00