aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/udl/udl_transfer.c
diff options
context:
space:
mode:
authorMikulas Patocka <[email protected]>2018-06-03 14:40:57 +0000
committerDave Airlie <[email protected]>2018-07-30 22:03:48 +0000
commit09a00abe3a9941c2715ca83eb88172cd2f54d8fd (patch)
tree62ad3afee5fc522e67ca8fc5016c2ffde1c854ef /drivers/gpu/drm/udl/udl_transfer.c
parentudl-kms: handle allocation failure (diff)
downloadkernel-09a00abe3a9941c2715ca83eb88172cd2f54d8fd.tar.gz
kernel-09a00abe3a9941c2715ca83eb88172cd2f54d8fd.zip
udl-kms: fix crash due to uninitialized memory
We must use kzalloc when allocating the fb_deferred_io structure. Otherwise, the field first_io is undefined and it causes a crash. Signed-off-by: Mikulas Patocka <[email protected]> Cc: [email protected] Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/udl/udl_transfer.c')
0 files changed, 0 insertions, 0 deletions