OpenCloudOS-Kernel/drivers/gpu/drm/qxl
Tian Tao d1f66f054b 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>
2020-12-22 13:43:29 +01:00
..
Kconfig drm/qxl: Fix randbuild error 2019-10-17 14:31:50 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
qxl_cmd.c qxl/ttm: drop the unusued no wait flag to reserve function 2020-08-06 12:16:29 +10:00
qxl_debugfs.c drm/qxl: switch over to the new pin interface 2020-09-24 16:16:50 +02:00
qxl_dev.h drm/qxl: use flexible-array member instead of zero-length array 2020-12-22 13:43:29 +01:00
qxl_display.c drm/gem: Use struct dma_buf_map in GEM vmap ops and convert GEM backends 2020-11-09 09:19:24 +01:00
qxl_draw.c drm/gem: Use struct dma_buf_map in GEM vmap ops and convert GEM backends 2020-11-09 09:19:24 +01:00
qxl_drv.c drm/qxl: don't take vga ports on rev5+ 2020-08-17 09:36:36 +02:00
qxl_drv.h drm/ttm/drivers: remove unecessary ttm_module.h include v2 2020-12-01 17:43:46 +01:00
qxl_dumb.c drm/qxl: remove _unlocked suffix in drm_gem_object_put_unlocked 2020-05-19 22:31:34 +01:00
qxl_gem.c drm/qxl: remove _unlocked suffix in drm_gem_object_put_unlocked 2020-05-19 22:31:34 +01:00
qxl_image.c drm/qxl: lost qxl_bo_kunmap_atomic_page in qxl_image_init_helper() 2020-04-29 13:21:34 +02:00
qxl_ioctl.c drm: remove unneeded break 2020-11-08 18:59:00 +01:00
qxl_irq.c drm/qxl: Don't use drm_device->dev_private 2020-04-28 20:04:01 +02:00
qxl_kms.c drm/qxl: replace idr_init() by idr_init_base() 2020-11-06 08:50:31 +01:00
qxl_object.c drm/gem: Use struct dma_buf_map in GEM vmap ops and convert GEM backends 2020-11-09 09:19:24 +01:00
qxl_object.h drm/ttm: cleanup BO size handling v3 2020-12-14 14:20:46 +01:00
qxl_prime.c drm/gem: Use struct dma_buf_map in GEM vmap ops and convert GEM backends 2020-11-09 09:19:24 +01:00
qxl_release.c drm/ttm: cleanup LRU handling further 2020-12-15 17:01:55 +01:00
qxl_ttm.c drm/ttm/drivers: remove unecessary ttm_module.h include v2 2020-12-01 17:43:46 +01:00