]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: sh_flctl: fix warnings due to improper casts
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 27 Nov 2013 10:17:28 +0000 (11:17 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 9 Dec 2013 21:33:54 +0000 (13:33 -0800)
commitc0a3e8e6875366585e96260c6e099fa2451390ef
tree00d9631143a7a58d2d39136a8b97fabf39c7f86e
parent7816fd0439d359f3bf19c32f4aca7738c57b26a6
mtd: sh_flctl: fix warnings due to improper casts

Cast pointers to uintptr_t instead of unsigned int. This fixes warnings
on platforms where pointers have a different size than int.

Cc: David Woodhouse <dwmw2@infradead.org>
Cc: linux-mtd@lists.infradead.org
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/sh_flctl.c