diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-05-13 18:29:04 +0400 |
---|---|---|
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2013-05-17 17:13:18 +0400 |
commit | 1287dabd345f447bbe0f7a99fc95ab89bcfc0f5d (patch) | |
tree | c28b898aa3296ab653403ae275f53151b66abb9f /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 5460fc03105fbed01fe27aa572d9f65bb410a61d (diff) | |
download | linux-1287dabd345f447bbe0f7a99fc95ab89bcfc0f5d.tar.xz |
NVMe: fix error return code in nvme_submit_bio_queue()
nvme_submit_flush_data() might overwrite the initialisation of the
return value with 0, so move the -ENOMEM setting close to the usage.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions