Date: Fri, 31 Jul 2009 11:18:52 +1000 (EST) From: freebsd@ips.gov.au To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/137285: dev ata compile error Message-ID: <20090731011852.9ADB67301C@qayaq.syd.ips.gov.au> Resent-Message-ID: <200907310140.n6V1e1Jj046678@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137285 >Category: kern >Synopsis: dev ata compile error >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 31 01:40:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: IPS Radio & Space Service >Release: FreeBSD 7.1-PRERELEASE i386 >Organization: IPS Radio & Space Service >Environment: System: FreeBSD tesla 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Fri Nov 28 13:55:13 EST 2008 root@tesla:/usr/obj/usr/src/sys/GENERIC i386 >Description: Upgrading 7.1-PRERELEASE to 7.2-Stable Building Generic Kernel reports error /usr/src/sys/dev/ata/ata-all.c: In function 'ata_device_ioctl': /usr/src/sys/dev/ata/ata-all.c:454: error: request for member 'max_iosize' in something not a structure or union /usr/src/sys/dev/ata/ata-all.c:454: error: request for member 'max_iosize' in something not a structure or union /usr/src/sys/dev/ata/ata-all.c:454 reads (ch->dma.max_iosize ? ch->dma.max_iosize : DFLTPHYS)) { dma is a pointer in struct ata_channel see Fix: for probable code change required /usr/src/sys/dev/ata/ata-all.c Version __FBSDID("$FreeBSD: src/sys/dev/ata/ata-all.c,v 1.280.2.9 2009/07/30 13:19:12 mav Exp $"); >How-To-Repeat: Build 7.2-Stable Kernel pre 31 Jul 2009 >Fix: edit /usr/src/sys/dev/ata/ata-all.c:454 to read (ch->dma ? ch->dma->max_iosize : DFLTPHYS)) { >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090731011852.9ADB67301C>