linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] video/logo: prevent use of logos after they have been freed
@ 2014-12-18 11:57 Tomi Valkeinen
  2014-12-18 11:57 ` Tomi Valkeinen
  0 siblings, 1 reply; 4+ messages in thread
From: Tomi Valkeinen @ 2014-12-18 11:57 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

The fbdev logo seems to be rather messed up when deferred probing is happening.
This is a quick fix for the problem.

The code in the logo.c is quite scary, using __init_refok to silence warnings
about accessing __initdata from non-init context.

Another option would be to make the logos not __initdata, but I think that's
not acceptable.

Any ideas for a nicer way to fix this issue?

 Tomi

Tomi Valkeinen (1):
  video/logo: prevent use of logos after they have been freed

 drivers/video/logo/logo.c | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

-- 
2.2.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-12-18 13:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-18 11:57 [PATCH] video/logo: prevent use of logos after they have been freed Tomi Valkeinen
2014-12-18 11:57 ` Tomi Valkeinen
2014-12-18 13:46   ` Geert Uytterhoeven
2014-12-18 13:58     ` Tomi Valkeinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).