Re: [PATCH] memory: omap-gpmc: Don't try to save the GPMC context

2015-08-12 Thread Tony Lindgren
* Javier Martinez Canillas jav...@dowhile0.org [150805 05:47]: Hello Tomeu, On Wed, Aug 5, 2015 at 2:24 PM, Tomeu Vizoso tomeu.viz...@collabora.com wrote: ...if there isn't one already. I think is better to instead splitting the subject line like this, to change it for something that

Re: [PATCH] memory: omap-gpmc: Don't try to save the GPMC context

2015-08-07 Thread Roger Quadros
On 05/08/15 15:24, Tomeu Vizoso wrote: ...if there isn't one already. If for some reason the GPMC device hasn't been probed yet, gpmc_base is going to be NULL. Because there's no context yet to be saved, just turn these functions into no-ops until that device gets probed. Unable to handle

[PATCH] memory: omap-gpmc: Don't try to save the GPMC context

2015-08-05 Thread Tomeu Vizoso
...if there isn't one already. If for some reason the GPMC device hasn't been probed yet, gpmc_base is going to be NULL. Because there's no context yet to be saved, just turn these functions into no-ops until that device gets probed. Unable to handle kernel NULL pointer dereference at virtual

Re: [PATCH] memory: omap-gpmc: Don't try to save the GPMC context

2015-08-05 Thread Javier Martinez Canillas
Hello Tomeu, On Wed, Aug 5, 2015 at 2:24 PM, Tomeu Vizoso tomeu.viz...@collabora.com wrote: ...if there isn't one already. I think is better to instead splitting the subject line like this, to change it for something that fits like memory: omap-gpmc: Don't try to save uninitialized GPMC