Skip to contentSkip to conversation

drivers/scsi/lasi700.c: Use the DMA_32BIT_MASK constant

PATCH In review Tobias Klauser 2 participants 2 messages Mar 14, 2005 – Mar 15, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/scsi/lasi700.c: Use the DMA_32BIT_MASK constant

Hello,

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

drivers/scsi/lasi700.c +1 -1
@@ -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;
 

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors

#1 lore raw

Re: [KJ] [PATCH] drivers/scsi/lasi700.c: Use the DMA_32BIT_MASK

Quoted 2 lines · Tobias Klauser

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.

Signature · 6 lines
"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

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors