public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* dma_mask on scsi_calculate_bounce_limit
@ 2010-11-18  8:50 王神
  2010-11-18 15:21 ` James Bottomley
  0 siblings, 1 reply; 7+ messages in thread
From: 王神 @ 2010-11-18  8:50 UTC (permalink / raw)
  To: linux-scsi

Hi

I have enabled DMA for my host device and when i connect a scsi device
to the host, it crashes in the following code..

Function: scsi_calculate_bounce_limit

 if (host_dev && host_dev->dma_mask)
                bounce_limit = *host_dev->dma_mask;

"*dma_mask" is illegal pointer operation. I would like to understand
is this known and is there reason behind such a code ?

TIA
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2010-11-19 15:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-18  8:50 dma_mask on scsi_calculate_bounce_limit 王神
2010-11-18 15:21 ` James Bottomley
2010-11-18 17:54   ` 王神
2010-11-19  0:52     ` James Bottomley
2010-11-19  6:41       ` 王神
2010-11-19 15:13         ` Douglas Gilbert
2010-11-19 15:15         ` James Bottomley

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