Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321343
b: refs/heads/master
c: 41fb433
h: refs/heads/master
i:
  321341: 6685ce0
  321339: 09f06a2
  321335: 963684d
  321327: be1108c
  321311: 461f436
  321279: b0bd910
v: v3
  • Loading branch information
Julia Lawall authored and Ingo Molnar committed Jul 26, 2012
1 parent ec51588 commit d16fe3a
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: 61b0fccd7f114573f973dfe25d864608822dc09e
refs/heads/master: 41fb433b63cc4745f4918fdaf295763da5ca826c
6 changes: 4 additions & 2 deletions trunk/arch/x86/kernel/kdebugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ static int __init create_setup_data_nodes(struct dentry *parent)
{
struct setup_data_node *node;
struct setup_data *data;
int error = -ENOMEM;
int error;
struct dentry *d;
struct page *pg;
u64 pa_data;
Expand All @@ -121,8 +121,10 @@ static int __init create_setup_data_nodes(struct dentry *parent)

while (pa_data) {
node = kmalloc(sizeof(*node), GFP_KERNEL);
if (!node)
if (!node) {
error = -ENOMEM;
goto err_dir;
}

pg = pfn_to_page((pa_data+sizeof(*data)-1) >> PAGE_SHIFT);
if (PageHighMem(pg)) {
Expand Down

0 comments on commit d16fe3a

Please sign in to comment.