Skip to content

Commit

Permalink
[MTD] [MAPS] Fix printk format warning in nettel.c
Browse files Browse the repository at this point in the history
MTD size is 64-bit now...

Pointed out by Randy Dunlap <randy.dunlap@oracle.com>

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Jan 9, 2009
1 parent 6887441 commit 85795da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mtd/maps/nettel.c
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,8 @@ static int __init nettel_init(void)
*intel1par = 0;
}

printk(KERN_NOTICE "SNAPGEAR: Intel flash device size = %dK\n",
(intel_mtd->size >> 10));
printk(KERN_NOTICE "SNAPGEAR: Intel flash device size = %lldKiB\n",
(unsigned long long)(intel_mtd->size >> 10));

intel_mtd->owner = THIS_MODULE;

Expand Down

0 comments on commit 85795da

Please sign in to comment.