]> git.baikalelectronics.ru Git - kernel.git/commit
fbdev: allow apertures == NULL in remove_conflicting_framebuffers()
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Sat, 1 Sep 2018 14:08:44 +0000 (16:08 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 3 Sep 2018 16:14:55 +0000 (18:14 +0200)
commitf194eceb0b86df99b6839d77dc26e47b1c8a0713
tree39347b08b2c48eb96a218ac25849b6bd4ce04ee0
parentbc4a8dbe2f7272b6d21cb7e440d24f64a76caed0
fbdev: allow apertures == NULL in remove_conflicting_framebuffers()

Interpret (otherwise-invalid) NULL apertures argument to mean all-memory
range. This will allow to remove several duplicates of this code
from drivers in following patches.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/b5fed539fe569035139c8594c23effd8c39f12ca.1535810304.git.mirq-linux@rere.qmqm.pl
drivers/video/fbdev/core/fbmem.c