commit | 5116fbf136ea21b8678a85eee5c03508736ada9f | [log] [tgz] |
---|---|---|
author | James Smart <james.smart@avagotech.com> | Fri May 22 10:42:39 2015 -0400 |
committer | James Bottomley <JBottomley@Odin.com> | Sat Jun 13 08:22:04 2015 -0700 |
tree | 937f71f6ddc91f4c40574d40f6667e8b493202de | |
parent | 8b0dff14164d3f43eba8365950b506d898e0e1e6 [diff] |
lpfc: Fix scsi prep dma buf error. Didn't check for less-than-or-equal zero. Means we may later call scsi_dma_unmap() even though we don't have valid mappings. Signed-off-by: Dick Kennedy <dick.kennedy@avagotech.com> Signed-off-by: James Smart <james.smart@avagotech.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com>