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)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Fri, 22 Jun 2018 08:32:28 +0000 (10:32 +0200)
commitcbdceb9b3e1928554fffd0d889adf2d0d8edee4d
tree519774b99bb1c3e59afa873b9a35935398a98118
parentf1ce87f6080b1dda7e7b1eda3da332add19d87b9
mtd: dataflash: Use ULL suffix for 64-bit constants

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>
drivers/mtd/devices/mtd_dataflash.c