The shmem_parse_mpol stub's 3rd argument is a pointer on flags:

CC mm/shmem.o
mm/shmem.c: In function ‘shmem_parse_options’:
mm/shmem.c:2228: warning: passing argument 3 of ‘shmem_parse_mpol’ makes integer from pointer without a cast

Signed-off-by: Pavel Emelyanov

---
mm/shmem.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mm/shmem.c b/mm/shmem.c
index 281f6c2..e40f56d 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -1215,7 +1215,7 @@ static struct page *shmem_alloc_page(gfp_t gfp,
#else /* !CONFIG_NUMA */
#ifdef CONFIG_TMPFS
static inline int shmem_parse_mpol(char *value, unsigned short *policy,
- unsigned short flags, nodemask_t *policy_nodes)
+ unsigned short *flags, nodemask_t *policy_nodes)
{
return 1;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/