Re: [PATCH 2/8] mtd: maps: gpio-addr-flash: Fix ioremapped size

2018-08-28 Thread Ricardo Ribalda Delgado
Hi Boris On Tue, Aug 28, 2018 at 4:26 PM Boris Brezillon wrote: > > On Tue, 21 Aug 2018 16:31:46 +0200 > Ricardo Ribalda Delgado wrote: > > > We should only iomap the area of the chip that is memory mapped. > > Otherwise we could be mapping devices beyond the memory space or that > > belong to ot

Re: [PATCH 2/8] mtd: maps: gpio-addr-flash: Fix ioremapped size

2018-08-28 Thread Boris Brezillon
On Tue, 21 Aug 2018 16:31:46 +0200 Ricardo Ribalda Delgado wrote: > We should only iomap the area of the chip that is memory mapped. > Otherwise we could be mapping devices beyond the memory space or that > belong to other devices. > Can you add Fixes: ebd71e3a4861 ("mtd: maps: gpio-addr-flash

[PATCH 2/8] mtd: maps: gpio-addr-flash: Fix ioremapped size

2018-08-21 Thread Ricardo Ribalda Delgado
We should only iomap the area of the chip that is memory mapped. Otherwise we could be mapping devices beyond the memory space or that belong to other devices. Signed-off-by: Ricardo Ribalda Delgado --- drivers/mtd/maps/gpio-addr-flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif