cvs commit: src/sys/dev/ata ata-raid.c ata-raid.h

Peter Wemm peter at wemm.org
Tue Apr 8 10:48:38 PDT 2003


S ren Schmidt wrote:
>   Modified files:
>     sys/dev/ata          ata-raid.c ata-raid.h 
>   Log:
>   Fix a long standing bug in handling the last part of a stripe
>   on "odd" size disks.
>   
>   Add printout of the RAID structure on verbose boot.

This broke 64 bit platforms:

/home/tinderbox/ia64/src/sys/dev/ata/ata-raid.c: In function `ar_print_conf':
/home/tinderbox/ia64/src/sys/dev/ata/ata-raid.c:1460: warning: long long int format, u_int64_t arg (arg 2)
/home/tinderbox/ia64/src/sys/dev/ata/ata-raid.c:1468: warning: long long int format, u_int64_t arg (arg 2)
*** Error code 1

Stop in /home/tinderbox/ia64/obj/home/tinderbox/ia64/src/sys/GENERIC.
*** Error code 1

and

peter at daintree[10:46am]~/fbp4/hammer/sys/x86_64/compile/GENERIC-196> make ata-raid.o
x86_64-unknown-freebsd5.0-gcc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmis                                                             tanding  -nostdinc -I-  -I. -I../../.. -I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter -D_KERNEL -include opt_global.h -fno-common  -mcmodel=medium -mno-red-zone -ffreestanding -Werror  ../../../dev/ata/ata-raid.c
cc1: warnings being treated as errors
../../../dev/ata/ata-raid.c: In function `ar_print_conf':
../../../dev/ata/ata-raid.c:1460: warning: long long int format, u_int64_t arg (arg 2)
../../../dev/ata/ata-raid.c:1468: warning: long long int format, u_int64_t arg (arg 2)

Cheers,
-Peter
--
Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5



More information about the cvs-all mailing list