Date: Fri, 6 Aug 2004 22:23:53 +0000 (UTC) From: Nate Lawson <njl@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ata ata-lowlevel.c Message-ID: <200408062223.i76MNrjr032178@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
njl 2004-08-06 22:23:53 UTC
FreeBSD src repository
Modified files:
sys/dev/ata ata-lowlevel.c
Log:
Fix a panic in ata_generic_transaction(). The DMA pointer of the channel
was being unconditionally dereferenced but was NULL for PIO requests.
Check the request flags for a DMA transaction before dereferencing.
Reported by: ceri
Tested by: Radek Kozlowski <radek -at- raadradd.com>
Revision Changes Path
1.42 +1 -1 src/sys/dev/ata/ata-lowlevel.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408062223.i76MNrjr032178>
