diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-06-18 17:26:08 +0200 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2022-07-19 14:40:59 +0200 |
| commit | 8f48dbd6deaf5a14c924c1de08bf7e36526bf3e7 (patch) | |
| tree | 7b897691950a8288ab76a5ded5376b22e3671f97 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | drm/virtio: kms: use drm managed resources (diff) | |
| download | linux-8f48dbd6deaf5a14c924c1de08bf7e36526bf3e7.tar.gz linux-8f48dbd6deaf5a14c924c1de08bf7e36526bf3e7.zip | |
drm/bochs: Fix some error handling paths in bochs_pci_probe()
The remove() function calls bochs_hw_fini() but this function is not called
in the error handling of the probe.
This call releases the resources allocated by bochs_hw_init() used in
bochs_load().
Update the probe and bochs_load() to call bochs_hw_fini() if an error
occurs after a successful bochs_hw_init() call.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: http://patchwork.freedesktop.org/patch/msgid/0e676e4d56ab5b10fcf22860081414445611dfa7.1655565953.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
