diff options
author | 2022-06-02 08:55:42 +0800 | |
---|---|---|
committer | 2022-06-08 08:56:03 -0400 | |
commit | a58a7f97ba11391d2d0d408e0b24f38d86ae748e (patch) | |
tree | 350a294cc0bb86c64b5f341e3d8bbf78443f3ccc /scripts/gdb/linux/utils.py | |
parent | vdpa/mlx5: Fix syntax errors in comments (diff) | |
download | wireguard-linux-a58a7f97ba11391d2d0d408e0b24f38d86ae748e.tar.xz wireguard-linux-a58a7f97ba11391d2d0d408e0b24f38d86ae748e.zip |
virtio-mmio: fix missing put_device() when vm_cmdline_parent registration failed
The reference must be released when device_register(&vm_cmdline_parent)
failed. Add the corresponding 'put_device()' in the error handling path.
Signed-off-by: chengkaitao <pilgrimtao@gmail.com>
Message-Id: <20220602005542.16489-1-chengkaitao@didiglobal.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions