diff options
Diffstat (limited to 'arch/mips/mm/sc-debugfs.c')
-rw-r--r-- | arch/mips/mm/sc-debugfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/mm/sc-debugfs.c b/arch/mips/mm/sc-debugfs.c index 5eefe3281b24..01f1154cdb0c 100644 --- a/arch/mips/mm/sc-debugfs.c +++ b/arch/mips/mm/sc-debugfs.c | |||
@@ -73,8 +73,8 @@ static int __init sc_debugfs_init(void) | |||
73 | 73 | ||
74 | file = debugfs_create_file("prefetch", S_IRUGO | S_IWUSR, dir, | 74 | file = debugfs_create_file("prefetch", S_IRUGO | S_IWUSR, dir, |
75 | NULL, &sc_prefetch_fops); | 75 | NULL, &sc_prefetch_fops); |
76 | if (IS_ERR(file)) | 76 | if (!file) |
77 | return PTR_ERR(file); | 77 | return -ENOMEM; |
78 | 78 | ||
79 | return 0; | 79 | return 0; |
80 | } | 80 | } |