Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106324
b: refs/heads/master
c: 78681ac
h: refs/heads/master
v: v3
  • Loading branch information
Randy Dunlap authored and Linus Torvalds committed Jul 27, 2008
1 parent cbc67a7 commit c72c84c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 3b8f14b41026fb7d7e9a4af2a4128a702d07ad26
refs/heads/master: 78681ac08a611313595d13cafabae1183b71ef48
6 changes: 4 additions & 2 deletions trunk/drivers/firmware/memmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,14 @@ int __init firmware_map_add_early(resource_size_t start, resource_size_t end,

static ssize_t start_show(struct firmware_map_entry *entry, char *buf)
{
return snprintf(buf, PAGE_SIZE, "0x%llx\n", entry->start);
return snprintf(buf, PAGE_SIZE, "0x%llx\n",
(unsigned long long)entry->start);
}

static ssize_t end_show(struct firmware_map_entry *entry, char *buf)
{
return snprintf(buf, PAGE_SIZE, "0x%llx\n", entry->end);
return snprintf(buf, PAGE_SIZE, "0x%llx\n",
(unsigned long long)entry->end);
}

static ssize_t type_show(struct firmware_map_entry *entry, char *buf)
Expand Down

0 comments on commit c72c84c

Please sign in to comment.