All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [PATCH] drivers/scsi/lasi700.c: Use the DMA_32BIT_MASK constant
@ 2005-03-14 20:06 Tobias Klauser
  2005-03-15 12:40 ` [KJ] [PATCH] drivers/scsi/lasi700.c: Use the DMA_32BIT_MASK Matthew Wilcox
  0 siblings, 1 reply; 2+ messages in thread
From: Tobias Klauser @ 2005-03-14 20:06 UTC (permalink / raw)
  To: kernel-janitors

[-- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [KJ] [PATCH] drivers/scsi/lasi700.c: Use the DMA_32BIT_MASK
  2005-03-14 20:06 [KJ] [PATCH] drivers/scsi/lasi700.c: Use the DMA_32BIT_MASK constant Tobias Klauser
@ 2005-03-15 12:40 ` Matthew Wilcox
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Wilcox @ 2005-03-15 12:40 UTC (permalink / raw)
  To: kernel-janitors

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

On Mon, Mar 14, 2005 at 09:06:47PM +0100, Tobias Klauser wrote:
> Description: Use the DMA_32BIT_MASK constants from dma-mapping.h
> when calling dma_set_mask().

Thanks, committed to the parisc tree and will be merged shortly.

-- 
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain

[-- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-15 12:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-14 20:06 [KJ] [PATCH] drivers/scsi/lasi700.c: Use the DMA_32BIT_MASK constant Tobias Klauser
2005-03-15 12:40 ` [KJ] [PATCH] drivers/scsi/lasi700.c: Use the DMA_32BIT_MASK Matthew Wilcox

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.