diff options
author | 2019-03-08 22:36:27 -0600 | |
---|---|---|
committer | 2019-03-25 09:33:42 +0100 | |
commit | 208c6e8cff1b96eca401adbd544ac00133df9e90 (patch) | |
tree | dbf483bcd997ba7a356fb521d70fd867a0ffc616 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/doc: fix missing verb (diff) | |
download | wireguard-linux-208c6e8cff1b96eca401adbd544ac00133df9e90.tar.xz wireguard-linux-208c6e8cff1b96eca401adbd544ac00133df9e90.zip |
drm: vkms: check status of alloc_ordered_workqueue
alloc_ordered_workqueue may fail and return NULL.
The fix returns ENOMEM when it fails to avoid potential NULL
pointer dereference.
Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190309043628.6078-1-kjlu@umn.edu
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions