Re: [PATCH 2/4 v2] firmware: stratix10-svc: Unmap some previously memremap'ed memory

2020-05-05 Thread Christophe JAILLET
Le 05/05/2020 à 16:43, Greg KH a écrit : On Wed, Apr 29, 2020 at 08:52:43AM +0200, Christophe JAILLET wrote: In 'svc_create_memory_pool()' we memremap some memory. This has to be undone in case of error and if the driver is removed. The easiest way to do it is to use 'devm_memremap()'. Fixes:

Re: [PATCH 2/4 v2] firmware: stratix10-svc: Unmap some previously memremap'ed memory

2020-05-05 Thread Greg KH
On Wed, Apr 29, 2020 at 08:52:43AM +0200, Christophe JAILLET wrote: > In 'svc_create_memory_pool()' we memremap some memory. This has to be > undone in case of error and if the driver is removed. > > The easiest way to do it is to use 'devm_memremap()'. > > Fixes: 7ca5ce896524 ("firmware: add Int

[PATCH 2/4 v2] firmware: stratix10-svc: Unmap some previously memremap'ed memory

2020-04-28 Thread Christophe JAILLET
In 'svc_create_memory_pool()' we memremap some memory. This has to be undone in case of error and if the driver is removed. The easiest way to do it is to use 'devm_memremap()'. Fixes: 7ca5ce896524 ("firmware: add Intel Stratix10 service layer driver") Signed-off-by: Christophe JAILLET --- driv