diff options
author | Alexandre Bounine <alexandre.bounine@idt.com> | 2016-03-22 22:26:59 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-22 23:36:02 +0100 |
commit | 83472457505c454592d91807754135d0ad34b125 (patch) | |
tree | 3c93685eba4fff5416df6201fdd6f9b4c2fc7774 /mm/kmemleak.c | |
parent | rapidio/tsi721: add filtered debug output (diff) | |
download | linux-83472457505c454592d91807754135d0ad34b125.tar.xz linux-83472457505c454592d91807754135d0ad34b125.zip |
rapidio/tsi721_dma: update error reporting from prep_sg callback
Switch to returning error-valued pointer instead of simple NULL pointer.
This allows to properly identify situation when request queue is full
and therefore gives to upper layer an option to retry operation later.
Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Aurelien Jacquiot <a-jacquiot@ti.com>
Cc: Andre van Herk <andre.van.herk@prodrive-technologies.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/kmemleak.c')
0 files changed, 0 insertions, 0 deletions