summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/s3c2410.c
diff options
context:
space:
mode:
authorArnaud Patard <arnaud.patard@rtp-net.org>2007-02-23 03:00:09 +0300
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-02-25 19:41:41 +0300
commitdff5e44c36ed7ef6ce2a5280e5204c452668960f (patch)
tree5f25650cda81387bc6379f126b664ce600bbd851 /drivers/mtd/nand/s3c2410.c
parentec3622d963522432a873cc1b6f66fed6fceddc18 (diff)
downloadlinux-dff5e44c36ed7ef6ce2a5280e5204c452668960f.tar.xz
[ARM] 4233/1: nand/s3c2410.c: warning fix
Noticed while building a s3c2410 kernel : drivers/mtd/nand/s3c2410.c: In function 's3c2440_nand_calculate_ecc': drivers/mtd/nand/s3c2410.c:476: warning: format '%06x' expects type 'unsigned int', but argument 3 has type 'long unsigned int' This patch fixes it. Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mtd/nand/s3c2410.c')
-rw-r--r--drivers/mtd/nand/s3c2410.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c
index 0ddfd6de75c5..5fac4c421a20 100644
--- a/drivers/mtd/nand/s3c2410.c
+++ b/drivers/mtd/nand/s3c2410.c
@@ -473,7 +473,7 @@ static int s3c2440_nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat, u
ecc_code[1] = ecc >> 8;
ecc_code[2] = ecc >> 16;
- pr_debug("%s: returning ecc %06x\n", __func__, ecc);
+ pr_debug("%s: returning ecc %06lx\n", __func__, ecc);
return 0;
}