From c935c1cd591ebc7c7738ac7cf8529b7f19268d6e Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 19 Mar 2014 11:04:43 +1100 Subject: [PATCH] mm-add-debugfs-tunable-for-fault_around_order-checkpatch-fixes WARNING: Prefer pr_warn(... to pr_warning(... #67: FILE: mm/memory.c:3376: + pr_warning("Failed to create fault_around_order in debugfs"); total: 0 errors, 1 warnings, 96 lines checked ./patches/mm-add-debugfs-tunable-for-fault_around_order.patch has style problems, please review. If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: "Kirill A. Shutemov" Signed-off-by: Andrew Morton --- mm/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/memory.c b/mm/memory.c index 24cb9bff856740..dbb3ee654aa68c 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -3387,7 +3387,7 @@ static int __init fault_around_debugfs(void) ret = debugfs_create_file("fault_around_order", 0644, NULL, NULL, &fault_around_order_fops); if (!ret) - pr_warning("Failed to create fault_around_order in debugfs"); + pr_warn("Failed to create fault_around_order in debugfs"); return 0; } late_initcall(fault_around_debugfs);