linux/drivers/mtd/nand/brcmnand
Anup Patel 3f08b8ba9f mtd: brcmnand: Fix pointer type-cast in brcmnand_write()
We should always type-cast pointer to "long" or "unsigned long"
because size of pointer is same as machine word size. This will
avoid pointer type-cast issues on both 32bit and 64bit systems.

This patch fixes pointer type-cast issue in brcmnand_write()
as-per above info.

Signed-off-by: Anup Patel <anup.patel@broadcom.com>
Reviewed-by: Vikram Prakash <vikramp@broadcom.com>
Reviewed-by: Ray Jui <rjui@broadcom.com>
Reviewed-by: Scott Branden <sbranden@broadcom.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2015-10-12 14:17:30 -07:00
..
bcm63138_nand.c mtd: brcmnand: refactor bcm63138 SoC layering 2015-09-30 13:07:01 -07:00
brcmnand.c mtd: brcmnand: Fix pointer type-cast in brcmnand_write() 2015-10-12 14:17:30 -07:00
brcmnand.h mtd: brcmnand: remove unnecessary fields from brcmnand_soc 2015-09-30 13:07:02 -07:00
brcmstb_nand.c
iproc_nand.c mtd: brcmnand: refactor iProc SoC layering 2015-09-30 13:07:02 -07:00
Makefile mtd: brcmnand: add BCM63138 support 2015-05-15 13:20:00 -07:00