mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] mtd: nand: Use ULL-suffix for big u64 constant
@ 2014-08-09 17:07 Geert Uytterhoeven
  2014-08-11 17:50 ` Brian Norris
  0 siblings, 1 reply; 5+ messages in thread
From: Geert Uytterhoeven @ 2014-08-09 17:07 UTC (permalink / raw)
  To: Brian Norris, Boris BREZILLON; +Cc: linux-mtd, linux-kernel, Geert Uytterhoeven

drivers/mtd/nand/nand_timings.c:45: warning: integer constant is too large for ‘long’ type

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 drivers/mtd/nand/nand_timings.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/nand_timings.c b/drivers/mtd/nand/nand_timings.c
index 8b36253420fa..e81470a8ac67 100644
--- a/drivers/mtd/nand/nand_timings.c
+++ b/drivers/mtd/nand/nand_timings.c
@@ -42,7 +42,7 @@ static const struct nand_sdr_timings onfi_sdr_timings[] = {
 		.tRHZ_max = 200000,
 		.tRLOH_min = 0,
 		.tRP_min = 50000,
-		.tRST_max = 250000000000,
+		.tRST_max = 250000000000ULL,
 		.tWB_max = 200000,
 		.tRR_min = 40000,
 		.tWC_min = 100000,
-- 
1.9.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-08-11 19:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-09 17:07 [PATCH] mtd: nand: Use ULL-suffix for big u64 constant Geert Uytterhoeven
2014-08-11 17:50 ` Brian Norris
2014-08-11 18:51   ` Geert Uytterhoeven
2014-08-11 19:06     ` Brian Norris
2014-08-11 19:25       ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®