Skip to content
Commit d1f66f05 authored by Tian Tao's avatar Tian Tao Committed by Gerd Hoffmann
Browse files

drm/qxl: use flexible-array member instead of zero-length array

Use flexible-array member introduced in C99 instead of zero-length
array. Most of zero-length array was already taken care in previous
patch [1]. Now modified few more cases which were not handled earlier.

[1]. https://patchwork.kernel.org/patch/11394197/



Signed-off-by: default avatarTian Tao <tiantao6@hisilicon.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1607650349-28513-1-git-send-email-tiantao6@hisilicon.com


Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent 2077ec34
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment