Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Apr 2003 10:48:36 -0700
From:      Peter Wemm <peter@wemm.org>
To:        S ren Schmidt <sos@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/ata ata-raid.c ata-raid.h 
Message-ID:  <20030408174836.DB3B42A8A5@canning.wemm.org>
In-Reply-To: <200304080748.h387mqmo006161@repoman.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030408174836.DB3B42A8A5>