lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <87h934oz7j.wl%kuninori.morimoto.gx@renesas.com>
Date:   Wed, 8 Mar 2017 10:14:33 +0000
From:   Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
To:     Geert Uytterhoeven <geert@...ux-m68k.org>
CC:     Laurent <laurent.pinchart@...asonboard.com>,
        "Bartlomiej Zolnierkiewicz" <b.zolnierkie@...sung.com>,
        Fabian Frederick <fabf@...net.be>,
        Andrew Morton <akpm@...ux-foundation.org>,
        shimoda <yoshihiro.shimoda.uh@...esas.com>,
        Koji Matsuoka <koji.matsuoka.xm@...esas.com>,
        shiiba <naoya.shiiba.nx@...esas.com>,
        sakato <ryusuke.sakato.bx@...esas.com>,
        Hosoya <yoshifumi.hosoya.wj@...esas.com>,
        Fukawa <tomoharu.fukawa.eb@...esas.com>,
        Hien Dang <hien.dang.eb@...esas.com>,
        Khiem Nguyen <khiem.nguyen.xt@...esas.com>,
        Kouei Abe <kouei.abe.cp@...esas.com>,
        Harunobu Kurokawa <harunobu.kurokawa.dn@...esas.com>,
        "Hiroyuki Yokoyama" <hiroyuki.yokoyama.vx@...esas.com>,
        Takeshi Kihara <takeshi.kihara.df@...esas.com>,
        Linux Fbdev development list <linux-fbdev@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [PATCH] video/logo: tidyup fb_logo_late_init initcall timing

From: Takeshi Kihara <takeshi.kihara.df@...esas.com>

Some video driver might returns -EPROBE_DEFER when probe timing,
but logo init function doesn't care it.
Thus, such kernel can't have logo when boot time.

This patch solves this issue by exchanging current
late_initcall to late_initcall_sync

Signed-off-by: Takeshi Kihara <takeshi.kihara.df@...esas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@...der.be>
---
 drivers/video/logo/logo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/logo/logo.c b/drivers/video/logo/logo.c
index b6bc4a0..4d50bfd 100644
--- a/drivers/video/logo/logo.c
+++ b/drivers/video/logo/logo.c
@@ -34,7 +34,7 @@ static int __init fb_logo_late_init(void)
 	return 0;
 }
 
-late_initcall(fb_logo_late_init);
+late_initcall_sync(fb_logo_late_init);
 
 /* logo's are marked __initdata. Use __ref to tell
  * modpost that it is intended that this function uses data
-- 
1.9.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ