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: <alpine.DEB.2.00.1211091330330.2974@chino.kir.corp.google.com>
Date:	Fri, 9 Nov 2012 13:33:09 -0800 (PST)
From:	David Rientjes <rientjes@...gle.com>
To:	Andrew Morton <akpm@...ux-foundation.org>
cc:	aquini@...hat.com, Andi Kleen <andi@...stfloor.org>,
	konrad.wilk@...cle.com, Mel Gorman <mel@....ul.ie>,
	Minchan Kim <minchan@...nel.org>, mst@...hat.com,
	Rik van Riel <riel@...hat.com>, rusty@...tcorp.com.au,
	linux-kernel@...r.kernel.org, mm-commits@...r.kernel.org
Subject: [patch] mm: introduce a common interface for balloon pages mobility
 fix

Fixes build failure from "mm: introduce a common interface for balloon 
pages mobility":

mm/balloon_compaction.c: In function 'balloon_page_putback':
mm/balloon_compaction.c:243: error: implicit declaration of function '__WARN'

Generic code calls WARN_ON(), not __WARN() directly.

Signed-off-by: David Rientjes <rientjes@...gle.com>
---
 mm/balloon_compaction.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mm/balloon_compaction.c b/mm/balloon_compaction.c
index 32927eb..ddb0951 100644
--- a/mm/balloon_compaction.c
+++ b/mm/balloon_compaction.c
@@ -240,7 +240,7 @@ void balloon_page_putback(struct page *page)
 		put_page(page);
 		balloon_event_count(COMPACTBALLOONRETURNED);
 	} else {
-		__WARN();
+		WARN_ON(1);
 		dump_page(page);
 	}
 	unlock_page(page);
--
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