diff options
author | Hou Wenlong <houwenlong.hwl@antgroup.com> | 2022-10-17 06:06:10 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-10-27 11:41:55 +0300 |
commit | 180418e2eb33be5c8d0b703c843e0ebc045aef80 (patch) | |
tree | cbdcab385fa666ff5cc87eeea298e1f079ac0371 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 5aa02366773376a1fd3a5c6a815e5f6e026ab391 (diff) | |
download | linux-180418e2eb33be5c8d0b703c843e0ebc045aef80.tar.xz |
KVM: debugfs: Return retval of simple_attr_open() if it fails
Although simple_attr_open() fails only with -ENOMEM with current code
base, it would be nicer to return retval of simple_attr_open() directly
in kvm_debugfs_open().
No functional change intended.
Signed-off-by: Hou Wenlong <houwenlong.hwl@antgroup.com>
Message-Id: <69d64d93accd1f33691b8a383ae555baee80f943.1665975828.git.houwenlong.hwl@antgroup.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions