aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/virtio/virtgpu_prime.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2020-10-26 19:39:55 +0000
committerThomas Zimmermann <[email protected]>2020-10-27 06:56:19 +0000
commit4dfec0d1d7b9970f36931de714b379dbeaed83f8 (patch)
tree36707e3c5b0184fb7136a830e420b186306a4b5e /drivers/gpu/drm/virtio/virtgpu_prime.c
parentdrm: deprecate DRM_FORMAT_MOD_NONE (diff)
downloadkernel-4dfec0d1d7b9970f36931de714b379dbeaed83f8.tar.gz
kernel-4dfec0d1d7b9970f36931de714b379dbeaed83f8.zip
matroxfb: avoid -Warray-bounds warning
The open-coded list_for_each_entry() causes a harmless warning: drivers/video/fbdev/matrox/matroxfb_base.c: In function 'matroxfb_register_driver': include/linux/kernel.h:856:3: warning: array subscript -98 is outside array bounds of 'struct list_head[1]' [-Warray-bounds] Use the normal list_for_each_entry instead. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Thomas Zimmermann <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/virtio/virtgpu_prime.c')
0 files changed, 0 insertions, 0 deletions