linux-stable/drivers/video
Michał Mirosław 5ad8ba88d6 fbdev/core: Avoid uninitialized read in aperture_remove_conflicting_pci_device()
commit e0ba1a39b8 upstream.

Return on error directly from the BAR-iterating loop instead of
break+return.

This is actually a cosmetic fix, since it would be highly unusual to
have this called for a PCI device without any memory BARs.

Fixes: 9d69ef1838 ("fbdev/core: Remove remove_conflicting_pci_framebuffers()")
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/e75323732bedc46d613d72ecb40f97e3bc75eea8.1666829073.git.mirq-linux@rere.qmqm.pl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-11-04 00:00:24 +09:00
..
backlight - Core Frameworks 2022-08-06 10:33:34 -07:00
console fbdev: Move fbdev drivers from strlcpy to strscpy 2022-08-24 22:06:15 +02:00
fbdev fbdev: smscufx: Fix several use-after-free bugs 2022-11-04 00:00:20 +09:00
logo
Kconfig drm: Implement DRM aperture helpers under video/ 2022-06-27 11:07:55 +02:00
Makefile drm: Implement DRM aperture helpers under video/ 2022-06-27 11:07:55 +02:00
aperture.c fbdev/core: Avoid uninitialized read in aperture_remove_conflicting_pci_device() 2022-11-04 00:00:24 +09:00
display_timing.c
hdmi.c
of_display_timing.c video: fbdev: of: display_timing: Remove a redundant zeroing of memory 2022-04-04 08:55:23 +02:00
of_videomode.c
vgastate.c
videomode.c