aboutsummaryrefslogtreecommitdiff
path: root/include/linux/stacktrace.h
diff options
context:
space:
mode:
authorIan Abbott <[email protected]>2014-09-12 12:19:54 +0100
committerGreg Kroah-Hartman <[email protected]>2014-09-19 15:39:39 -0700
commitdf567feb00277ddee715f61e4616eaae50532ea0 (patch)
tree4582598068bdb772d57ea28c6ad641f8ab265d32 /include/linux/stacktrace.h
parentaee447566d08b7b0da482c4a9d8dc7a8332e4d69 (diff)
staging: comedi: addi_apci_3120: don't allocate 2nd DMA buffer on failure
`apci3120_auto_attach()` tries to allocate two DMA buffers but may allocate a single buffer or none at all. If it fails to allocate the first buffer, it still tries to allocate the second buffer, even though it won't be used. Change it to not bother trying to allocate the second buffer if the first one fails. Signed-off-by: Ian Abbott <[email protected]> Reviewed-by: H Hartley Sweeten <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions