android_kernel_xiaomi_sm8350/drivers/scsi/ibmvscsi
Brian King 64b840dd88 [SCSI] ibmvfc: Fix DMA mapping leak on memory allocation failure
There is currently a DMA mapping leak that can occur in the ibmvfc
driver if we fail to allocate a scatterlist. Fix this by unmapping
the scatterlist in the failure path. Additionally, only log an error
for a scatterlist allocation failure if the log level is greater
than the default, since this can occur when running Active Memory
Sharing and this is not considered an error.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2009-01-25 08:14:53 -06:00
..
ibmvfc.c [SCSI] ibmvfc: Fix DMA mapping leak on memory allocation failure 2009-01-25 08:14:53 -06:00
ibmvfc.h powerpc: Cleanup from l64 to ll64 change drivers/scsi 2009-01-16 16:15:10 +11:00
ibmvscsi.c powerpc: Change u64/s64 to a long long integer type 2009-01-13 14:47:59 +11:00
ibmvscsi.h
ibmvstgt.c [SCSI] ibmvstgt: move crq_queue_create to the end of initialization 2008-12-09 09:45:30 -06:00
iseries_vscsi.c
Makefile
rpa_vscsi.c
viosrp.h