Project

General

Profile

Feature #5354

Updated by Vadim Mutilin about 10 years ago

*Description* 

 DMA map for SCSI command is created by the function _int scsi_dma_map(struct scsi_cmnd *)_ if its first argument is a correct pointer to a structure of SCSI command. A DMA map is destroyed by function _int scsi_dma_unmap(struct scsi_cmnd *)_. If _scsi_dma_map_ returns zero, the _scsi_dma_unmap_ is not necessary, but is not an error as well. The correct usage includes: 
 * unmap only created maps; 
 * create non existing maps; 
 * cancel all created maps before to shutdown of the module. 
 
 Sample bugfixes "25e8bc0":https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=25e8bc0, "e70f61e":https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=e70f61e 
 https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=25e8bc0 
 https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=e70f61e

Back