Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752234AbaLRL6K (ORCPT ); Thu, 18 Dec 2014 06:58:10 -0500 Received: from comal.ext.ti.com ([198.47.26.152]:47975 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751378AbaLRL6I (ORCPT ); Thu, 18 Dec 2014 06:58:08 -0500 From: Tomi Valkeinen To: Geert Uytterhoeven , Sam Ravnborg , , , CC: Tomi Valkeinen Subject: [PATCH] video/logo: prevent use of logos after they have been freed Date: Thu, 18 Dec 2014 13:57:21 +0200 Message-ID: <1418903842-22450-1-git-send-email-tomi.valkeinen@ti.com> X-Mailer: git-send-email 2.2.0 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/