OSDN Git Service

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>
Fri, 3 Jan 2014 19:22:23 +0000 (11:22 -0800)
commit82ae816e160c6d349784daa03800006090d38fd0
tree54c0a2008b2b83a2ea0ff6f1294032e5c0a52026
parent6bcda8a71080b8fa35e07a3339b2d79ebcfa4c33
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