tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8cd9234c64c584432f6992fe944ca9e46ca8ea76 commit: 48c96a3685795e52903e60c7ee115e5e22e7d640 mm/page_owner: keep track of page owners date: 6 months ago coccinelle warnings: (new ones prefixed by >>) >> mm/page_owner.c:217:1-3: WARNING: PTR_ERR_OR_ZERO can be used vim +217 mm/page_owner.c 201 202 static const struct file_operations proc_page_owner_operations = { 203 .read = read_page_owner, 204 }; 205 206 static int __init pageowner_init(void) 207 { 208 struct dentry *dentry; 209 210 if (!page_owner_inited) { 211 pr_info("page_owner is disabled\n"); 212 return 0; 213 } 214 215 dentry = debugfs_create_file("page_owner", S_IRUSR, NULL, 216 NULL, &proc_page_owner_operations); > 217 if (IS_ERR(dentry)) 218 return PTR_ERR(dentry); 219 220 return 0; 221 } 222 module_init(pageowner_init) --- 0-DAY kernel test infrastructure Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>