aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/hisilicon
diff options
context:
space:
mode:
authorTian Tao <tiantao6@hisilicon.com>2020-12-11 09:32:29 +0800
committerGerd Hoffmann <kraxel@redhat.com>2020-12-22 13:43:29 +0100
commitd1f66f054b7a62cd171e3bb7c4075e6d111089a1 (patch)
tree574275d4f441c37e284544150a90f79fd2933b6b /drivers/gpu/drm/hisilicon
parentdrivers: gpu: drm: virtio: fix dependency of DRM_VIRTIO_GPU on VIRTIO (diff)
downloadlinux-dev-d1f66f054b7a62cd171e3bb7c4075e6d111089a1.tar.xz
linux-dev-d1f66f054b7a62cd171e3bb7c4075e6d111089a1.zip
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: Tian Tao <tiantao6@hisilicon.com> Link: http://patchwork.freedesktop.org/patch/msgid/1607650349-28513-1-git-send-email-tiantao6@hisilicon.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/hisilicon')
0 files changed, 0 insertions, 0 deletions