mtd: dataflash: Use ULL suffix for 64-bit constants
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 22 Jun 2018 07:04:25 +0000 (09:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Aug 2018 11:09:04 +0000 (13:09 +0200)
commit99654c9ffcea2d835283aa8c570432bd03ca6943
treec5d8381d2542581b8ff65e07c17cb913067bbd5e
parenta17ea7fb07acfe4fe2da93a42849137c29740b53
mtd: dataflash: Use ULL suffix for 64-bit constants

[ Upstream commit cbdceb9b3e1928554fffd0d889adf2d0d8edee4d ]

With gcc 4.1.2 when compiling for 32-bit:

    drivers/mtd/devices/mtd_dataflash.c:736: warning: integer constant is too large for ‘long’ type
    drivers/mtd/devices/mtd_dataflash.c:737: warning: integer constant is too large for ‘long’ type

Add the missing "ULL" suffixes to fix this.

Fixes: 67e4145ebf2c161d ("mtd: dataflash: Add flash_info for AT45DB641E")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mtd/devices/mtd_dataflash.c