Re: [PATCH v2 15/29] memory: ti-emif-pm: Fix cast to iomem pointer

2020-07-24 Thread Krzysztof Kozlowski
On Fri, Jul 24, 2020 at 09:40:24AM +0200, Krzysztof Kozlowski wrote: > Cast pointer to iomem memory properly to fix sparse warning: > > drivers/memory/ti-emif-pm.c:251:38: warning: incorrect type in argument 1 > (different address spaces) > drivers/memory/ti-emif-pm.c:251:38:expected

[PATCH v2 15/29] memory: ti-emif-pm: Fix cast to iomem pointer

2020-07-24 Thread Krzysztof Kozlowski
Cast pointer to iomem memory properly to fix sparse warning: drivers/memory/ti-emif-pm.c:251:38: warning: incorrect type in argument 1 (different address spaces) drivers/memory/ti-emif-pm.c:251:38:expected void const volatile [noderef] __iomem *addr