Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130292
b: refs/heads/master
c: 64b840d
h: refs/heads/master
v: v3
  • Loading branch information
Brian King authored and James Bottomley committed Jan 25, 2009
1 parent 420e7b6 commit b56bec6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f9932deb9900789ee0b5739c118f850d62e3b9b1
refs/heads/master: 64b840dd88eb2054f86c72ed6d989cb8681f0058
4 changes: 3 additions & 1 deletion trunk/drivers/scsi/ibmvscsi/ibmvfc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1322,7 +1322,9 @@ static int ibmvfc_map_sg_data(struct scsi_cmnd *scmd,
&evt->ext_list_token);

if (!evt->ext_list) {
scmd_printk(KERN_ERR, scmd, "Can't allocate memory for scatterlist\n");
scsi_dma_unmap(scmd);
if (vhost->log_level > IBMVFC_DEFAULT_LOG_LEVEL)
scmd_printk(KERN_ERR, scmd, "Can't allocate memory for scatterlist\n");
return -ENOMEM;
}
}
Expand Down

0 comments on commit b56bec6

Please sign in to comment.