“e434a10063ab47d5b453ae83bae8e96268adb305”上不存在“data_backup/1.leetcode/1107_IP 地址无效化/solution.cpp”
提交 25983b18 编写于 作者: H Huang Shijie 提交者: David Woodhouse

mtd: cfi_cmdset_0002: print @adr when write timeout occurs

Print out the @adr when the write timeout occurs.
This is useful to check if the write timeouts occur at the
same address.
Signed-off-by: NHuang Shijie <b32955@freescale.com>
Signed-off-by: NArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
上级 aba98cfd
...@@ -1571,8 +1571,8 @@ static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip, ...@@ -1571,8 +1571,8 @@ static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip,
xip_enable(map, chip, adr); xip_enable(map, chip, adr);
/* FIXME - should have reset delay before continuing */ /* FIXME - should have reset delay before continuing */
printk(KERN_WARNING "MTD %s(): software timeout\n", printk(KERN_WARNING "MTD %s(): software timeout, address:0x%.8lx.\n",
__func__ ); __func__, adr);
ret = -EIO; ret = -EIO;
op_done: op_done:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册