[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150716152600.0ec446c2@canb.auug.org.au>
Date: Thu, 16 Jul 2015 15:26:00 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Vladimir Zapolskiy <vladimir_zapolskiy@...tor.com>
Subject: linux-next: build warning after merge of the akpm-current tree
Hi Andrew,
After merging the akpm-current tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:
lib/genalloc.c: In function 'gen_pool_get':
/scratch/sfr/next/lib/genalloc.c:599:6: warning: passing argument 4 of 'devres_find' discards 'const' qualifier from pointer target type
p = devres_find(dev, devm_gen_pool_release, devm_gen_pool_match, name);
^
In file included from /scratch/sfr/next/include/linux/node.h:17:0,
from /scratch/sfr/next/include/linux/cpu.h:16,
from /scratch/sfr/next/include/linux/of_device.h:4,
from /scratch/sfr/next/lib/genalloc.c:37:
/scratch/sfr/next/include/linux/device.h:620:14: note: expected 'void *' but argument is of type 'const char *'
extern void *devres_find(struct device *dev, dr_release_t release,
^
Caused by commit
e89a70fd54f2 ("genalloc: add support of multiple gen_pools per device")
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
--
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