mm: convert pr_warning to pr_warn
There are a mixture of pr_warning and pr_warn uses in mm. Use pr_warn consistently. Miscellanea: - Coalesce formats - Realign arguments Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Tejun Heo <tj@kernel.org> [percpu] Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
b11a7b9410
commit
598d80914e
@@ -2665,7 +2665,7 @@ void __init hugetlb_add_hstate(unsigned int order)
|
||||
unsigned long i;
|
||||
|
||||
if (size_to_hstate(PAGE_SIZE << order)) {
|
||||
pr_warning("hugepagesz= specified twice, ignoring\n");
|
||||
pr_warn("hugepagesz= specified twice, ignoring\n");
|
||||
return;
|
||||
}
|
||||
BUG_ON(hugetlb_max_hstate >= HUGE_MAX_HSTATE);
|
||||
@@ -2701,8 +2701,7 @@ static int __init hugetlb_nrpages_setup(char *s)
|
||||
mhp = &parsed_hstate->max_huge_pages;
|
||||
|
||||
if (mhp == last_mhp) {
|
||||
pr_warning("hugepages= specified twice without "
|
||||
"interleaving hugepagesz=, ignoring\n");
|
||||
pr_warn("hugepages= specified twice without interleaving hugepagesz=, ignoring\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user