Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4573
b: refs/heads/master
c: af2c80e
h: refs/heads/master
i:
  4571: bb37124
v: v3
  • Loading branch information
? authored and Thomas Gleixner committed Jun 29, 2005
1 parent d9b3e5f commit fe98ebb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a4f957f16d41b9ff944dddd84c4892496a129f68
refs/heads/master: af2c80e926ad5335d00a8d507928aff4e8ff1877
8 changes: 4 additions & 4 deletions trunk/drivers/mtd/devices/ms02-nv.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*
* $Id: ms02-nv.c,v 1.8 2005/01/05 18:05:12 dwmw2 Exp $
* $Id: ms02-nv.c,v 1.10 2005/06/20 12:24:41 macro Exp $
*/

#include <linux/init.h>
Expand Down Expand Up @@ -99,8 +99,8 @@ static inline uint ms02nv_probe_one(ulong addr)
* The firmware writes MS02NV_ID at MS02NV_MAGIC and also
* a diagnostic status at MS02NV_DIAG.
*/
ms02nv_diagp = (ms02nv_uint *)(KSEG1ADDR(addr + MS02NV_DIAG));
ms02nv_magicp = (ms02nv_uint *)(KSEG1ADDR(addr + MS02NV_MAGIC));
ms02nv_diagp = (ms02nv_uint *)(CKSEG1ADDR(addr + MS02NV_DIAG));
ms02nv_magicp = (ms02nv_uint *)(CKSEG1ADDR(addr + MS02NV_MAGIC));
err = get_dbe(ms02nv_magic, ms02nv_magicp);
if (err)
return 0;
Expand Down Expand Up @@ -233,7 +233,7 @@ static int __init ms02nv_init_one(ulong addr)
goto err_out_csr_res;
}

printk(KERN_INFO "mtd%d: %s at 0x%08lx, size %uMiB.\n",
printk(KERN_INFO "mtd%d: %s at 0x%08lx, size %zuMiB.\n",
mtd->index, ms02nv_name, addr, size >> 20);

mp->next = root_ms02nv_mtd;
Expand Down

0 comments on commit fe98ebb

Please sign in to comment.