[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120807111339.4a369066@pyramind.ukuu.org.uk>
Date: Tue, 7 Aug 2012 11:13:39 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Fengguang Wu <fengguang.wu@...el.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Alan Cox <alan@...ux.intel.com>, linux-serial@...r.kernel.org,
linux-kernel@...r.kernel.org, Russ Gorby <russ.gorby@...el.com>
Subject: Re: [PATCH] serial: ifx6x60: fix paging fault on
spi_register_driver
On Tue, 7 Aug 2012 13:12:47 +0800
Fengguang Wu <fengguang.wu@...el.com> wrote:
> [ 117.240866] BUG: unable to handle kernel paging request at 815b627c
> [ 117.240866] IP: [<813fe94b>] spi_register_driver+0xb/0x50
> ...
> [ 117.240866] Call Trace:
> [ 117.240866] [<817de977>] ifx_spi_init+0xbe/0xf0
>
> The root cause is, spi_register_driver() is trying to write into the
> passed *const* struct spi_driver.
>
> Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
Acked-by: Alan Cox <alan@...ux.intel.com>
--
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