[PATCH v2] mtd: sh_flctl: Fix warnings due to improper casts

Brian Norris computersforpeace at gmail.com
Fri Dec 13 13:22:15 EST 2013


On Wed, Nov 27, 2013 at 11:17:28AM +0100, Laurent Pinchart wrote:
> 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 at infradead.org>
> Cc: linux-mtd at lists.infradead.org
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com>
> ---
>  drivers/mtd/nand/sh_flctl.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> Changes compared to v1:
> 
> - Cast to uintptr_t instead of unsigned long

This patch has been in l2-mtd.git, but I forgot to alert you. Thanks for
the patch!

Brian



More information about the linux-mtd mailing list