From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/4] cmd_mtdparts: use 64 bits for flash size, partition size & offset
Date: Tue, 15 Oct 2013 10:27:28 -0700 [thread overview]
Message-ID: <525D7B00.6030309@freescale.com> (raw)
In-Reply-To: <1378304219-11229-3-git-send-email-paul.burton@imgtec.com>
On 09/04/2013 07:16 AM, Paul Burton wrote:
> This matches the 64 bit size in struct mtd_info and allows the mtdparts
> command to function correctly with a flash >= 4GiB. Format specifiers
> for size & offset are given the ll length, matching its use in
> drivers/mtd in absence of something like inttypes.h/PRIx64.
>
> Signed-off-by: Paul Burton <paul.burton@imgtec.com>
> ---
> common/cmd_mtdparts.c | 54 ++++++++++++++++++++++++---------------------
> include/jffs2/load_kernel.h | 6 ++---
> 2 files changed, 32 insertions(+), 28 deletions(-)
I need some help. This patch makes compiling warning for the following
targets
mgcoge kmsupx5 suvd3 mgcoge3ne kmopti2 tuge1 kmvect1 kmcoge5ne pdm360ng
kmeter1 tuxx1
cramfs.c: In function 'cramfs_read_super':
cramfs.c:56:18: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
cramfs.c:61:19: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
cramfs.c: In function 'cramfs_list_inode':
cramfs.c:211:31: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
cramfs.c: In function 'cramfs_ls':
cramfs.c:281:11: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
cramfs.c:294:11: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
cramfs.c: In function 'cramfs_check':
cramfs.c:339:7: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
cramfs.c:342:8: warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
Can you fix them?
York
next prev parent reply other threads:[~2013-10-15 17:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-04 14:16 [U-Boot] [PATCH v2 0/4] MTD & UBI fixes Paul Burton
2013-09-04 14:16 ` [U-Boot] [PATCH v2 1/4] mtd: driver _read() returns max_bitflips; mtd_read() returns -EUCLEAN Paul Burton
2013-09-04 14:16 ` [U-Boot] [PATCH 2/4] cmd_mtdparts: use 64 bits for flash size, partition size & offset Paul Burton
2013-10-15 17:27 ` York Sun [this message]
2013-09-04 14:16 ` [U-Boot] [PATCH 3/4] cmd_ubi: use int64_t volume size for 'ubi create' Paul Burton
2013-09-04 14:16 ` [U-Boot] [PATCH v2 4/4] cmd_ubi: add write.part command, to write a volume in multiple parts Paul Burton
2013-09-07 12:11 ` [U-Boot] [PATCH v2 0/4] MTD & UBI fixes Stefan Roese
2013-09-10 20:24 ` Scott Wood
2013-09-11 5:48 ` Stefan Roese
2013-09-12 0:55 ` Scott Wood
2013-09-12 5:55 ` Stefan Roese
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=525D7B00.6030309@freescale.com \
--to=yorksun@freescale.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox