From: Dan Williams Date: Tue, 28 Jul 2009 21:44:04 +0000 (-0700) Subject: ioat: fix type mismatch for ->dmacount X-Git-Tag: v2.6.32-rc1~60^2^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77867fff033ea549096c49d863c564ad7d8be36f;p=pandora-kernel.git ioat: fix type mismatch for ->dmacount ->dmacount tracks the sequence number of active descriptors. It is written to the DMACOUNT register to update the channel's view of pending descriptors in the chain. The register is 16-bits so ->dmacount should be unsigned and 16-bit as well. Also modify ->desccount to maintain alignment. This was never a problem in practice because we never compared dmacount values, but this is a bug waiting to happen. Signed-off-by: Maciej Sosnowski Signed-off-by: Dan Williams --- Reading git-diff-tree failed