drm/vmwgfx/vmwgfx_validation: Use flexible-array member instead of zero-length array
authorZou Wei <zou_wei@huawei.com>
Tue, 23 Mar 2021 13:02:04 +0000 (13:02 +0000)
committerZack Rusin <zackr@vmware.com>
Thu, 29 Apr 2021 18:54:54 +0000 (14:54 -0400)
commitae57b2190fd85ec115c0b02ff06e43c41f46f0fc
treeb258f761c288c9fd36da011de608fb3fb82eb12b
parent82cc3b070350beecb1c0f65772aaa85c6b248d9e
drm/vmwgfx/vmwgfx_validation: Use flexible-array member instead of zero-length array

Suppresses the following coccinelle warning:

drivers/gpu/drm/vmwgfx/vmwgfx_validation.c:85:15-22: WARNING use flexible-array member instead

Signed-off-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: Zack Rusin <zackr@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210323130204.45439-1-zou_wei@huawei.com
drivers/gpu/drm/vmwgfx/vmwgfx_validation.c