diff options
author | James Smart <james.smart@avagotech.com> | 2015-05-22 10:42:39 -0400 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2015-09-28 18:57:02 -0400 |
commit | cf76d3de6e54afb361b2cb6d70893518cb7aa57c (patch) | |
tree | cd51d4d31a6903c5b1718c4638706b67065b56b5 /security/tomoyo/gc.c | |
parent | 573f4d61b7ffb05b400018d81dc52c9f823c3178 (diff) |
lpfc: Fix scsi prep dma buf error.
[ Upstream commit 5116fbf136ea21b8678a85eee5c03508736ada9f ]
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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'security/tomoyo/gc.c')
0 files changed, 0 insertions, 0 deletions