Sreekanth Reddy sreekanth.re...@avagotech.com writes:
scsi_dma_map API will return a negative value (i.e. -ENOMEM) if DMA
mapping of sg lists fails and zero if the sg list in the SCSI cmd is
NULL. But drivers doesn't handled sg list DMA mapping failure case
properly.
Reviewed-by: Martin K.
On Fri, Jun 12, 2015 at 03:12:27PM +0530, Sreekanth Reddy wrote:
scsi_dma_map API will return a negative value (i.e. -ENOMEM)
if DMA mapping of sg lists fails and zero if the sg list in the
SCSI cmd is NULL. But drivers doesn't handled sg list DMA mapping
failure case properly.
So, Updated
scsi_dma_map API will return a negative value (i.e. -ENOMEM)
if DMA mapping of sg lists fails and zero if the sg list in the
SCSI cmd is NULL. But drivers doesn't handled sg list DMA mapping
failure case properly.
So, Updated the code to return host busy error status to SCSI MID Layer(SML),
when
scsi_dma_map API will return a negative value (i.e. -ENOMEM) if DMA mapping of
sg lists fails and zero if the sg list in the SCSI cmd is NULL. But drivers
doesn't handled sg list DMA mapping failure case properly.
So, Updated the code to return host busy error status to SCSI MID Layer (SML),
4 matches
Mail list logo