[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4EF252D2.7000206@gmx.de>
Date: Wed, 21 Dec 2011 21:42:42 +0000
From: Florian Tobias Schandinat <FlorianSchandinat@....de>
To: Marek Vasut <marek.vasut@...il.com>
CC: linux-kernel@...r.kernel.org, linux-fbdev@...r.kernel.org,
Wolfgang Denk <wd@...x.de>, Stefano Babic <sbabic@...x.de>,
Shawn Guo <shawn.guo@...aro.org>,
Huang Shijie <b32955@...escale.com>,
Axel Lin <axel.lin@...il.com>,
Sascha Hauer <s.hauer@...gutronix.de>
Subject: Re: [PATCH RESEND] MXSFB: Fix driver registration
On 12/19/2011 03:37 PM, Marek Vasut wrote:
> The driver should be registered with mxsfb_driver, not with mxsfb_devtype.
> This caused obvious null pointer dereference and crash.
>
> Signed-off-by: Marek Vasut <marek.vasut@...il.com>
> Cc: Wolfgang Denk <wd@...x.de>
> Cc: Stefano Babic <sbabic@...x.de>
> Cc: Shawn Guo <shawn.guo@...aro.org>
> Cc: Huang Shijie <b32955@...escale.com>
> Cc: Axel Lin <axel.lin@...il.com>
> Cc: Sascha Hauer <s.hauer@...gutronix.de>
> Acked-by: Axel Lin <axel.lin@...il.com>
> Acked-by: Sascha Hauer <s.hauer@...gutronix.de>
Applied.
Thanks,
Florian Tobias Schandinat
> ---
> drivers/video/mxsfb.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c
> index 18742c2..d29c7c0 100644
> --- a/drivers/video/mxsfb.c
> +++ b/drivers/video/mxsfb.c
> @@ -902,7 +902,7 @@ static struct platform_driver mxsfb_driver = {
> },
> };
>
> -module_platform_driver(mxsfb_devtype);
> +module_platform_driver(mxsfb_driver);
>
> MODULE_DESCRIPTION("Freescale mxs framebuffer driver");
> MODULE_AUTHOR("Sascha Hauer, Pengutronix");
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists