summaryrefslogtreecommitdiff
path: root/drivers/media/common/videobuf2/videobuf2-dma-sg.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-10-26 20:39:55 +0100
committerThomas Zimmermann <tzimmermann@suse.de>2020-10-27 07:56:19 +0100
commit4dfec0d1d7b9970f36931de714b379dbeaed83f8 (patch)
tree36707e3c5b0184fb7136a830e420b186306a4b5e /drivers/media/common/videobuf2/videobuf2-dma-sg.c
parent70bb9193728627e84e02eb0960b0aa138ae2cef5 (diff)
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 <arnd@arndb.de> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/20201026194010.3817166-1-arnd@kernel.org
Diffstat (limited to 'drivers/media/common/videobuf2/videobuf2-dma-sg.c')
0 files changed, 0 insertions, 0 deletions