提交 2e59cb63 编写于 作者: M Marek Vasut 提交者: Wolfgang Denk

GCC4.6: Squash warnings in PPChameleonEVB/flash.c

flash.c: In function 'flash_init':
flash.c:54: warning: format '%08X' expects type 'unsigned int', but argument 4
has type 'struct flash_info_t *'
Signed-off-by: NMarek Vasut <marek.vasut@gmail.com>
上级 d6248f40
......@@ -51,7 +51,8 @@ unsigned long flash_init (void)
int size_val = 0;
debug("[%s, %d] Entering ...\n", __FUNCTION__, __LINE__);
debug("[%s, %d] flash_info = 0x%08X ...\n", __FUNCTION__, __LINE__, flash_info);
debug("[%s, %d] flash_info = 0x%p ...\n", __func__, __LINE__,
flash_info);
/* Init: no FLASHes known */
for (i=0; i<CONFIG_SYS_MAX_FLASH_BANKS; ++i) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册