Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312789
b: refs/heads/master
c: 18c20f3
h: refs/heads/master
i:
  312787: b61655d
v: v3
  • Loading branch information
Borislav Petkov committed Jun 7, 2012
1 parent 9c197d7 commit efdc687
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 019f34fccfd5cf5ff1e722dafd9fe2bd54434e66
refs/heads/master: 18c20f373b76a64270a991396b06542abaf9f530
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/cpu/mcheck/mce_amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ struct threshold_attr {
#define SHOW_FIELDS(name) \
static ssize_t show_ ## name(struct threshold_block *b, char *buf) \
{ \
return sprintf(buf, "%lx\n", (unsigned long) b->name); \
return sprintf(buf, "%lu\n", (unsigned long) b->name); \
}
SHOW_FIELDS(interrupt_enable)
SHOW_FIELDS(threshold_limit)
Expand Down Expand Up @@ -379,7 +379,7 @@ static ssize_t show_error_count(struct threshold_block *b, char *buf)
struct threshold_block_cross_cpu tbcc = { .tb = b, };

smp_call_function_single(b->cpu, local_error_count_handler, &tbcc, 1);
return sprintf(buf, "%lx\n", tbcc.retval);
return sprintf(buf, "%lu\n", tbcc.retval);
}

static ssize_t store_error_count(struct threshold_block *b,
Expand Down

0 comments on commit efdc687

Please sign in to comment.