All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tobias Klauser <tklauser@nuerscht.ch>
To: kernel-janitors@vger.kernel.org
Subject: [KJ] [PATCH] drivers/scsi/lasi700.c: Use the DMA_32BIT_MASK constant
Date: Mon, 14 Mar 2005 20:06:47 +0000	[thread overview]
Message-ID: <20050314200647.GC1887@neon> (raw)

[-- Attachment #1: Type: text/plain, Size: 610 bytes --]

Hello,

Description: Use the DMA_32BIT_MASK constants from dma-mapping.h
when calling dma_set_mask().

Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>

--- linux-2.6.11.orig/drivers/scsi/lasi700.c	2005-03-02 12:50:37.000000000 +0100
+++ linux-2.6.11/drivers/scsi/lasi700.c	2005-03-10 18:19:39.000000000 +0100
@@ -111,7 +111,7 @@ lasi700_probe(struct parisc_device *dev)
 	memset(hostdata, 0, sizeof(struct NCR_700_Host_Parameters));
 
 	hostdata->dev = &dev->dev;
-	dma_set_mask(&dev->dev, 0xffffffffUL);
+	dma_set_mask(&dev->dev, DMA_32BIT_MASK);
 	hostdata->base = base;
 	hostdata->differential = 0;
 

[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

             reply	other threads:[~2005-03-14 20:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-14 20:06 Tobias Klauser [this message]
2005-03-15 12:40 ` [KJ] [PATCH] drivers/scsi/lasi700.c: Use the DMA_32BIT_MASK Matthew Wilcox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050314200647.GC1887@neon \
    --to=tklauser@nuerscht.ch \
    --cc=kernel-janitors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.