diff options
| author | chengkaitao <[email protected]> | 2022-06-02 00:55:42 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2022-06-08 12:56:03 +0000 |
| commit | a58a7f97ba11391d2d0d408e0b24f38d86ae748e (patch) | |
| tree | 350a294cc0bb86c64b5f341e3d8bbf78443f3ccc /scripts/clang-tools/gen_compile_commands.py | |
| parent | vdpa/mlx5: Fix syntax errors in comments (diff) | |
| download | kernel-a58a7f97ba11391d2d0d408e0b24f38d86ae748e.tar.gz kernel-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 <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Acked-by: Jason Wang <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
