lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1336492573-17530-1-git-send-email-levinsasha928@gmail.com>
Date:	Tue,  8 May 2012 17:56:10 +0200
From:	Sasha Levin <levinsasha928@...il.com>
To:	kay@...y.org, tglx@...utronix.de, mingo@...hat.com, hpa@...or.com,
	isdn@...ux-pingi.de, akpm@...ux-foundation.org
Cc:	x86@...nel.org, linux-kernel@...r.kernel.org,
	Sasha Levin <levinsasha928@...il.com>
Subject: [PATCH 1/4] mm: add missing KERN_CONT to free_area_init_nodes

Fix this behaviour:

Zone ranges:
  DMA
[mem 0x00010000-0x00ffffff]
  DMA32
[mem 0x01000000-0xffffffff]
  Normal
empty

Revealed due to a new modification to printk().

Signed-off-by: Sasha Levin <levinsasha928@...il.com>
---
 mm/page_alloc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 29066fd..b252ae3 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -4826,9 +4826,9 @@ void __init free_area_init_nodes(unsigned long *max_zone_pfn)
 		printk("  %-8s ", zone_names[i]);
 		if (arch_zone_lowest_possible_pfn[i] ==
 				arch_zone_highest_possible_pfn[i])
-			printk("empty\n");
+			printk(KERN_CONT "empty\n");
 		else
-			printk("[mem %0#10lx-%0#10lx]\n",
+			printk(KERN_CONT "[mem %0#10lx-%0#10lx]\n",
 				arch_zone_lowest_possible_pfn[i] << PAGE_SHIFT,
 				(arch_zone_highest_possible_pfn[i]
 					<< PAGE_SHIFT) - 1);
-- 
1.7.8.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ