Re: linux-next: driver-core tree build warning

From: Stephen Rothwell
Date: Mon Jul 13 2009 - 03:51:20 EST


Hi Greg,

On Mon, 13 Jul 2009 17:28:31 +1000 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> On Mon, 13 Jul 2009 17:26:46 +1000 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> >
> > Today's linux-next build (x86_64 allmodconfig) produced this warning:
> >
> > drivers/firewire/core-device.c: In function 'init_fw_attribute_group':
> > drivers/firewire/core-device.c:315: warning: assignment from incompatible pointer type
> >
> > Introduced by commit 025a6a26b70e5dc12ab9333ea43d70c735f459ac ("driver
> > model: constify attribute groups").
>
> Also:
>
> drivers/mtd/mtdcore.c:227: warning: initialization from incompatible pointer type

And from a PowerPC allyesconfig build:

drivers/block/cciss.c:582: warning: initialization from incompatible pointer type

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature