commit | e6848511d06189cd28f83e5aef580510699fb2b4 | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@bootlin.com> | Mon Jul 09 22:09:22 2018 +0200 |
committer | Miquel Raynal <miquel.raynal@bootlin.com> | Wed Jul 18 10:10:15 2018 +0200 |
tree | 28006466743112c4f4c6c34feab94c2269f5cc43 | |
parent | 20366e19e28f9954b25580c020d7a4e0db6055c4 [diff] |
mtd: rawnand: atmel: Use uintptr_t casts instead of unsigned int When casting a pointer to an unsigned int, uintptr_t should be used to cope with the pointer size differences between 32-bit and 64-bit architectures. This is needed if we want to allow compilation of this driver when COMPILE_TEST=y. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>