SVN r323289 breaks i386 kernel compilation

From: Michael Butler <imb_at_protected-networks.net>
Date: Thu, 7 Sep 2017 21:00:17 -0400
On i386, this revision breaks compilation as follows:

Building /usr/obj/usr/src/sys/SARAH/mca.o
--- mca.o ---
/usr/src/sys/x86/x86/mca.c:985:54: error: format specifies type 
'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long 
long') [-Werror,-Wformat]
                 printf("%s: 0x%lx: !valid | !present\n", __func__, misc);
                               ~~~                                  ^~~~
                               %llx
/usr/src/sys/x86/x86/mca.c:991:43: error: format specifies type 
'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long 
long') [-Werror,-Wformat]
                 printf("%s: 0x%lx: locked\n", __func__, misc);
                               ~~~                       ^~~~
                               %llx
/usr/src/sys/x86/x86/mca.c:1000:58: error: format specifies type 
'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long 
long') [-Werror,-Wformat]
                 printf("%s: 0x%lx: count already enabled\n", __func__, 
misc);
                               ~~~                                      ^~~~
                               %llx
3 errors generated.
*** [mca.o] Error code 1
Received on Thu Sep 07 2017 - 23:00:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:13 UTC