Arnd Bergmann 4dfec0d1d7 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
2020-10-27 07:56:19 +01:00
..
2020-10-16 22:59:00 +02:00
2020-09-25 16:34:50 +02:00
2020-01-30 08:04:01 -08:00
2020-09-14 18:11:40 +02:00
2019-06-03 16:00:08 +02:00
2020-01-30 08:04:01 -08:00
2020-01-15 17:31:50 +01:00
2020-08-30 10:56:12 -07:00
2020-02-19 10:58:22 -08:00
2020-09-08 13:33:32 +02:00
2020-09-08 13:33:32 +02:00
2020-01-30 08:04:01 -08:00
2020-01-30 08:04:01 -08:00
2020-01-30 08:04:01 -08:00
2020-06-01 15:15:24 +02:00
2020-01-30 08:04:01 -08:00
2020-01-30 08:04:01 -08:00