]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/scsi/qlogicfas408.c
Merge branch 'omap-fixes'
[linux-2.6-omap-h63xx.git] / drivers / scsi / qlogicfas408.c
index 2bfbf26c00ed078bc8a3d805b3ea9a40f7aac813..1ad51552d6b188aba1e206d5dc8e2a2ae96622a9 100644 (file)
@@ -23,7 +23,7 @@
    Functions as standalone, loadable, and PCMCIA driver, the latter from
    Dave Hinds' PCMCIA package.
    
-   Cleaned up 26/10/2002 by Alan Cox <alan@redhat.com> as part of the 2.5
+   Cleaned up 26/10/2002 by Alan Cox <alan@lxorguk.ukuu.org.uk> as part of the 2.5
    SCSI driver cleanup and audit. This driver still needs work on the
    following
        -       Non terminating hardware waits
@@ -317,7 +317,7 @@ static unsigned int ql_pcmd(struct scsi_cmnd *cmd)
                                return ((priv->qabort == 1 ?
                                         DID_ABORT : DID_RESET) << 16);
                        }
-                       buf = page_address(sg->page) + sg->offset;
+                       buf = sg_virt(sg);
                        if (ql_pdma(priv, phase, buf, sg->length))
                                break;
                }