diff options
author | Anil Ravindranath <anil_ravindranath@pmc-sierra.com> | 2009-12-17 14:51:53 -0800 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-30 11:53:22 -0600 |
commit | a70757ba9a3719f99760713c3b72134b21016c6e (patch) | |
tree | 51d8d3b0bc0376d4b74dc4ef3b83952286d05f00 /drivers/rtc/rtc-at91sam9.c | |
parent | 3b9c212a5cbb1e13ced92639ce83f7a48b8b2331 (diff) | |
download | kernel_samsung_crespo-a70757ba9a3719f99760713c3b72134b21016c6e.zip kernel_samsung_crespo-a70757ba9a3719f99760713c3b72134b21016c6e.tar.gz kernel_samsung_crespo-a70757ba9a3719f99760713c3b72134b21016c6e.tar.bz2 |
[SCSI] pmcraid: fix to avoid twice scsi_dma_unmap for a command
For a particular driver error condition, driver was doing double
scsi_dma_unmaps. Driver was calling scsi_dma_unmap in
pmcraid_error_handler and return 0. This pmcraid_error_handler is called
by pmcraid_io_done which will do scsi_dma_unmap again when it has
return 0 from pmcraid_error_handler.
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/rtc/rtc-at91sam9.c')
0 files changed, 0 insertions, 0 deletions