summaryrefslogtreecommitdiffstats
path: root/kernel/stacktrace.c
diff options
context:
space:
mode:
authorTina Johnson <tinajohnson.1234@gmail.com>2014-11-20 11:24:54 +0100
committerDavid S. Miller <davem@davemloft.net>2014-11-21 21:03:40 +0100
commit541675580ffcd098d746f7f713c7dbcc86744925 (patch)
treeee5f271c7fcaa51073bea01e02d1c435906978df /kernel/stacktrace.c
parentMerge branch 'tipc-next' (diff)
downloadlinux-541675580ffcd098d746f7f713c7dbcc86744925.tar.xz
linux-541675580ffcd098d746f7f713c7dbcc86744925.zip
drivers: atm: eni: Add pci_dma_mapping_error() call
Added a pci_dma_mapping_error() call to check for mapping errors before further using the dma handle. In case of error, control goes to a new label where the incoming skb is freed. Unchecked dma handles were found using Coccinelle: @rule1@ expression e1; identifier x; @@ *x = pci_map_single(...); ... when != pci_dma_mapping_error(e1,x) Signed-off-by: Tina Johnson <tinajohnson.1234@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions