]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: cadence: Fix cast to pointer from integer of different size warning
authorVasyl Gomonovych <gomonovych@gmail.com>
Wed, 18 Dec 2019 09:57:15 +0000 (11:57 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 9 Jan 2020 19:05:15 +0000 (20:05 +0100)
commit59421e5a95fa9ad0e3ba643f6c569cf6bcc3d7c1
tree9fa468c8bb0d365b5381739e327e854dcd8f1fc8
parent7257320b0b9753523025bcb3d58d5f7f34a923af
mtd: cadence: Fix cast to pointer from integer of different size warning

Use dma_addr_t type to pass memory address and control data in
DMA descriptor fields memory_pointer and ctrl_data_ptr
To fix warning: cast to pointer from integer of different size

Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/cadence-nand-controller.c