diff options
| author | Max Gurtovoy <[email protected]> | 2021-05-18 19:21:31 +0000 |
|---|---|---|
| committer | Alex Williamson <[email protected]> | 2021-05-24 19:40:13 +0000 |
| commit | dc51ff91cf2d1e9a2d941da483602f71d4a51472 (patch) | |
| tree | 2f8dc7a40187aec11d15447f314426d1b69159ad /tools/lib/bpf/bpf_prog_linfo.c | |
| parent | samples: vfio-mdev: fix error handing in mdpy_fb_probe() (diff) | |
| download | kernel-dc51ff91cf2d1e9a2d941da483602f71d4a51472.tar.gz kernel-dc51ff91cf2d1e9a2d941da483602f71d4a51472.zip | |
vfio/platform: fix module_put call in error flow
The ->parent_module is the one that use in try_module_get. It should
also be the one the we use in module_put during vfio_platform_open().
Fixes: 32a2d71c4e80 ("vfio: platform: introduce vfio-platform-base module")
Signed-off-by: Max Gurtovoy <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf_prog_linfo.c')
0 files changed, 0 insertions, 0 deletions
