Re: [PATCH 37/40] autonuma: page_autonuma change #include for sparse

From: Rik van Riel
Date: Mon Jul 02 2012 - 02:23:01 EST


On 06/28/2012 08:56 AM, Andrea Arcangeli wrote:
sparse (make C=1) warns about lookup_page_autonuma not being declared,
that's a false positive, but we can shut it down by being less strict
in the includes.

Signed-off-by: Andrea Arcangeli<aarcange@xxxxxxxxxx>

It is a one line change. Please fold it into the patch
that introduced the issue, and reduce the size of the
patch series.

diff --git a/mm/page_autonuma.c b/mm/page_autonuma.c
index bace9b8..2468c9e 100644
--- a/mm/page_autonuma.c
+++ b/mm/page_autonuma.c
@@ -1,6 +1,6 @@
#include<linux/mm.h>
#include<linux/memory.h>
-#include<linux/autonuma_flags.h>
+#include<linux/autonuma.h>
#include<linux/page_autonuma.h>
#include<linux/bootmem.h>



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