summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAnton Vasilyev <vasilyev@ispras.ru>2018-07-27 14:54:40 +0300
committerGerd Hoffmann <kraxel@redhat.com>2018-08-10 08:57:48 +0300
commit5043348a4969ae1661c008efe929abd0d76e3792 (patch)
treeef21572b2d7419b5efc9c3d20db52667a038d990 /tools/perf/scripts/python
parentb0d146ac7b9a9f1e1303aca9e1e828348f5d8a2f (diff)
downloadlinux-5043348a4969ae1661c008efe929abd0d76e3792.tar.xz
drm: qxl: Fix error handling at qxl_device_init
If qxl_device_init fails on creating resources and does not report it, then qxl module will catch null pointer exception on remove, or on probe's error path. The patch adds error path with resources release into qxl_device_init. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Anton Vasilyev <vasilyev@ispras.ru> Link: http://patchwork.freedesktop.org/patch/msgid/20180727115440.11112-1-vasilyev@ispras.ru Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions