[PATCH] ARM: STi: at least warn if of_iomap fails

2019-04-13 Thread Nicholas Mc Guire
The call to of_iomap() is unchecked but scu_enable(), which the returned address is passed on to, assumes a valid mapping. If the mapping is invalid this could probably lead to undefined system state so at least a warning should be issued. Signed-off-by: Nicholas Mc Guire Fixes: commit 65ebcc1158

Re: [PATCH] ARM: STi: at least warn if of_iomap fails

2018-07-16 Thread Nicholas Mc Guire
On Mon, Jul 16, 2018 at 07:55:08AM +, Patrice CHOTARD wrote: > Hi Nicholas > > On 07/12/2018 05:48 PM, Nicholas Mc Guire wrote: > > The call to of_iomap() is unchecked but scu_enable(), which the returned > > address is passed on to, assumes a valid mapping. If the mapping is > > invalid this

Re: [PATCH] ARM: STi: at least warn if of_iomap fails

2018-07-16 Thread Patrice CHOTARD
Hi Nicholas On 07/12/2018 05:48 PM, Nicholas Mc Guire wrote: > The call to of_iomap() is unchecked but scu_enable(), which the returned > address is passed on to, assumes a valid mapping. If the mapping is > invalid this could probably lead to undefined system state so at least > a warning should

[PATCH] ARM: STi: at least warn if of_iomap fails

2018-07-12 Thread Nicholas Mc Guire
The call to of_iomap() is unchecked but scu_enable(), which the returned address is passed on to, assumes a valid mapping. If the mapping is invalid this could probably lead to undefined system state so at least a warning should be issued. Signed-off-by: Nicholas Mc Guire Fixes: commit 65ebcc1158