projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix debugfs_create_file's error checking method for arch/sh/mm/
[deliverable/linux.git]
/
arch
/
sh
/
mm
/
pmb.c
diff --git
a/arch/sh/mm/pmb.c
b/arch/sh/mm/pmb.c
index cef727669c8759dde6ce20ceb9ecc138d71a28bb..84241676265e61455f4e9579f7cf41810601f1e9 100644
(file)
--- a/
arch/sh/mm/pmb.c
+++ b/
arch/sh/mm/pmb.c
@@
-394,6
+394,8
@@
static int __init pmb_debugfs_init(void)
dentry = debugfs_create_file("pmb", S_IFREG | S_IRUGO,
sh_debugfs_root, NULL, &pmb_debugfs_fops);
+ if (!dentry)
+ return -ENOMEM;
if (IS_ERR(dentry))
return PTR_ERR(dentry);
This page took
0.023714 seconds
and
5
git commands to generate.