linux-next: build warning after merge of the akpm tree

From: Stephen Rothwell
Date: Wed Apr 10 2013 - 04:18:48 EST


Hi Andrew,

After merging the akpm tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

include/linux/genalloc.h:109:3: warning: 'struct device' declared inside parameter list [enabled by default]
include/linux/genalloc.h:109:3: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
include/linux/genalloc.h:110:49: warning: 'struct device' declared inside parameter list [enabled by default]

Introduced by commit 3f364a866cf1 ("genalloc: add devres support, allow
to find a managed pool by device")
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature