Thread (4 messages) flat view 4 messages, 3 authors, 2007-06-27

Re: [git patches] libata fixes

From: Andrew Morton <akpm@linux-foundation.org>
Date: 2007-06-27 07:39:01
Also in: lkml

On Wed, 27 Jun 2007 03:35:26 -0400 Jeff Garzik [off-list ref] wrote:
+	/* Don't allow DMA if it isn't multiple of 16 bytes.  Quite a
+	 * few ATAPI devices choke on such DMA requests.
+	 */
+	if (unlikely(qc->nbytes & 15))
+		return 1;
It might be worth emitting a diagnostic when this happens.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help