diff options
author | 2021-07-15 16:00:26 +0800 | |
---|---|---|
committer | 2021-08-11 06:44:23 -0400 | |
commit | c8d182bd387a09a8b95303c8086238e8bf61fcfc (patch) | |
tree | 72d7850c0a57529db989fd03a98b1fb108c64c83 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | vDPA/ifcvf: Fix return value check for vdpa_alloc_device() (diff) | |
download | linux-dev-c8d182bd387a09a8b95303c8086238e8bf61fcfc.tar.xz linux-dev-c8d182bd387a09a8b95303c8086238e8bf61fcfc.zip |
vdpa: Add documentation for vdpa_alloc_device() macro
The return value of vdpa_alloc_device() macro is not very
clear, so that most of callers did the wrong check. Let's
add some comments to better document it.
Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Link: https://lore.kernel.org/r/20210715080026.242-4-xieyongji@bytedance.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions