-----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-----
*** 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))) {
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"