Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117893
b: refs/heads/master
c: b517531
h: refs/heads/master
i:
  117891: cb805a0
v: v3
  • Loading branch information
Zhaolei authored and Ralf Baechle committed Oct 27, 2008
1 parent b03ed98 commit 756fa00
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 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: ecab1f4479abb88d739bc1aac5545e8399fbad66
refs/heads/master: b517531ce53794f2a2eae1fff1d1216b9db4da9f
4 changes: 2 additions & 2 deletions trunk/arch/mips/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -601,8 +601,8 @@ static int __init debugfs_mips(void)
struct dentry *d;

d = debugfs_create_dir("mips", NULL);
if (IS_ERR(d))
return PTR_ERR(d);
if (!d)
return -ENOMEM;
mips_debugfs_dir = d;
return 0;
}
Expand Down
8 changes: 4 additions & 4 deletions trunk/arch/mips/kernel/unaligned.c
Original file line number Diff line number Diff line change
Expand Up @@ -560,12 +560,12 @@ static int __init debugfs_unaligned(void)
return -ENODEV;
d = debugfs_create_u32("unaligned_instructions", S_IRUGO,
mips_debugfs_dir, &unaligned_instructions);
if (IS_ERR(d))
return PTR_ERR(d);
if (!d)
return -ENOMEM;
d = debugfs_create_u32("unaligned_action", S_IRUGO | S_IWUSR,
mips_debugfs_dir, &unaligned_action);
if (IS_ERR(d))
return PTR_ERR(d);
if (!d)
return -ENOMEM;
return 0;
}
__initcall(debugfs_unaligned);
Expand Down

0 comments on commit 756fa00

Please sign in to comment.