diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2022-10-27 02:06:16 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2022-10-27 09:20:05 +0200 |
commit | e0ba1a39b8dfe4f005bebdd85daa89e7382e26b7 (patch) | |
tree | 40c844e9d58d5d9bc1a22d8df15c94a8acb19648 /fs | |
parent | b3af84383e7abdc5e63435817bb73a268e7c3637 (diff) |
fbdev/core: Avoid uninitialized read in aperture_remove_conflicting_pci_device()drm-misc-fixes-2022-10-27
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: 9d69ef183815 ("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
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions