public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 1/1] drivers/scsi/lasi700.c: Use the DMA_32BIT_MASK constant
@ 2005-03-19 13:19 domen
  2005-03-19 21:03 ` Matthew Wilcox
  0 siblings, 1 reply; 2+ messages in thread
From: domen @ 2005-03-19 13:19 UTC (permalink / raw)
  To: James.Bottomley; +Cc: linux-scsi, domen, tklauser



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

Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Signed-off-by: Domen Puncer <domen@coderock.org>
---


 kj-domen/drivers/scsi/lasi700.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/scsi/lasi700.c~dma_mask-drivers_scsi_lasi700 drivers/scsi/lasi700.c
--- kj/drivers/scsi/lasi700.c~dma_mask-drivers_scsi_lasi700	2005-03-18 20:05:40.000000000 +0100
+++ kj-domen/drivers/scsi/lasi700.c	2005-03-18 20:05:40.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;
 
_

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

* Re: [patch 1/1] drivers/scsi/lasi700.c: Use the DMA_32BIT_MASK constant
  2005-03-19 13:19 [patch 1/1] drivers/scsi/lasi700.c: Use the DMA_32BIT_MASK constant domen
@ 2005-03-19 21:03 ` Matthew Wilcox
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Wilcox @ 2005-03-19 21:03 UTC (permalink / raw)
  To: domen; +Cc: James.Bottomley, linux-scsi, tklauser

On Sat, Mar 19, 2005 at 02:19:32PM +0100, domen@coderock.org wrote:
> Use the DMA_32BIT_MASK constants from dma-mapping.h
> when calling dma_set_mask().

Already submitted.  I told you I'd take it through the parisc tree.

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

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

end of thread, other threads:[~2005-03-19 21:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-19 13:19 [patch 1/1] drivers/scsi/lasi700.c: Use the DMA_32BIT_MASK constant domen
2005-03-19 21:03 ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox