diff options
author | Anup Patel <anup.patel@broadcom.com> | 2015-10-02 23:26:42 +0530 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-10-12 14:17:30 -0700 |
commit | 3f08b8ba9f5d7ec528a9fc293e76a14c2851e403 (patch) | |
tree | 51213ed003742c50fe6224df0c6d480146ddd392 /drivers/mtd/nand/Kconfig | |
parent | mtd: pxa2xx-flash: switch from ioremap_cache to memremap (diff) | |
download | linux-dev-3f08b8ba9f5d7ec528a9fc293e76a14c2851e403.tar.xz linux-dev-3f08b8ba9f5d7ec528a9fc293e76a14c2851e403.zip |
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>
Diffstat (limited to 'drivers/mtd/nand/Kconfig')
0 files changed, 0 insertions, 0 deletions