Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jul 2009 18:50:48 -0400
From:      Michael Butler <imb@protected-networks.net>
To:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: [releng_7 tinderbox] failure on ia64/ia64
Message-ID:  <4A7223C8.5070607@protected-networks.net>
In-Reply-To: <20090730224447.75BC81B5060@freebsd-stable.sentex.ca>
References:  <20090730224447.75BC81B5060@freebsd-stable.sentex.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------010808030503090201050400
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

FreeBSD Tinderbox wrote:

> cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror  /src/sys/dev/ata/ata-all.c
> /src/sys/dev/ata/ata-all.c: In function 'ata_device_ioctl':
> /src/sys/dev/ata/ata-all.c:454: error: request for member 'max_iosize' in something not a structure or union
> /src/sys/dev/ata/ata-all.c:454: error: request for member 'max_iosize' in something not a structure or union
> *** Error code 1

Presumably, the intended lines were as in the attached patch ..

	imb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkpyI8gACgkQQv9rrgRC1JLagQCfVzv7O2cV3qAgj9TT6qQe+kFj
RIUAoIArFHee79h4wDaRgFZm4wgQeieQ
=ZbvL
-----END PGP SIGNATURE-----

--------------010808030503090201050400
Content-Type: text/x-diff;
 name="ata-all.max_iosize.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="ata-all.max_iosize.patch"

*** ata-all.c~	Thu Jul 30 14:11:23 2009
--- ata-all.c	Thu Jul 30 18:46:43 2009
***************
*** 451,457 ****
      switch (cmd) {
      case IOCATAREQUEST:
  	if (ioc_request->count >
! 	    (ch->dma.max_iosize ? ch->dma.max_iosize : DFLTPHYS)) {
  		return (EFBIG);
  	}
  	if (!(buf = malloc(ioc_request->count, M_ATA, M_NOWAIT))) {
--- 451,457 ----
      switch (cmd) {
      case IOCATAREQUEST:
  	if (ioc_request->count >
! 	    (atadev->max_iosize ? atadev->max_iosize : DFLTPHYS)) {
  		return (EFBIG);
  	}
  	if (!(buf = malloc(ioc_request->count, M_ATA, M_NOWAIT))) {

--------------010808030503090201050400--



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