lkml.org 
[lkml]   [2006]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -mm] sata_nv: fix ATAPI in ADMA mode
On Sun, 26 Nov 2006 14:20:19 -0600
Robert Hancock <hancockr@shaw.ca> wrote:

> static irqreturn_t nv_adma_interrupt(int irq, void *dev_instance)
> {
> struct ata_host *host = dev_instance;
> int i, handled = 0;
> + u32 notifier_clears[2];
>
> spin_lock(&host->lock);
>
> for (i = 0; i < host->n_ports; i++) {
> struct ata_port *ap = host->ports[i];
> + notifier_clears[i] = 0;

Promise us that n_ports will never exceed 2?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-11-28 00:19    [W:0.052 / U:21.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site