aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/telephony
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2009-01-22 15:45:38 -0600
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-01-25 08:14:53 -0600
commit64b840dd88eb2054f86c72ed6d989cb8681f0058 (patch)
treee6088041690abbd2fbf96fc8899dcd0620a60a38 /drivers/telephony
parentf9932deb9900789ee0b5739c118f850d62e3b9b1 (diff)
downloadkernel_samsung_smdk4412-64b840dd88eb2054f86c72ed6d989cb8681f0058.zip
kernel_samsung_smdk4412-64b840dd88eb2054f86c72ed6d989cb8681f0058.tar.gz
kernel_samsung_smdk4412-64b840dd88eb2054f86c72ed6d989cb8681f0058.tar.bz2
[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>
Diffstat (limited to 'drivers/telephony')
0 files changed, 0 insertions, 0 deletions