diff options
author | Ivan Khoronzhuk <ivan.khoronzhuk@ti.com> | 2013-12-17 15:36:05 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-01-03 11:22:24 -0800 |
commit | f735a4d0d5b76c6035f30749c4e0aa64b3a9a74e (patch) | |
tree | 76672d02b64d196a0879954d5fd5162fc853723d /tools/perf/scripts/python/net_dropmonitor.py | |
parent | eaaa4a9af3f553dd07e1a21bbf857933ec9032f0 (diff) |
mtd: nand: davinci: return ENOMEM if memory allocation is failed
In case when memory allocation is failed the driver should return
ENOMEM instead of ENODEV.
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Reviewed-by: Taras Kondratiuk <taras@ti.com>
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions