2009-06-17 03:08:39

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: device-mapper tree build warnings

Hi Alasdair,

Today's linux-next build (x86_64 allmodconfig) produced these warnings:

drivers/md/dm-delay.c: In function 'delay_iterate_devices':
drivers/md/dm-delay.c:327: warning: passing argument 1 of 'fn' from incompatible pointer type
drivers/md/dm-delay.c:327: note: expected 'struct dm_target *' but argument is of type 'struct delay_c *'
drivers/md/dm-delay.c:332: warning: passing argument 1 of 'fn' from incompatible pointer type
drivers/md/dm-delay.c:332: note: expected 'struct dm_target *' but argument is of type 'struct delay_c *'

Introduced by commit ac2152571c038de73be920db171fb438d32bb744
("dm-targets-introduce-iterate-devices-fn").
--
Cheers,
Stephen Rothwell [email protected]
http://www.canb.auug.org.au/~sfr/


Attachments:
(No filename) (758.00 B)
(No filename) (197.00 B)
Download all attachments

2009-06-17 12:37:53

by Alasdair G Kergon

[permalink] [raw]
Subject: Re: linux-next: device-mapper tree build warnings

On Wed, Jun 17, 2009 at 01:08:06PM +1000, Stephen Rothwell wrote:
> Today's linux-next build (x86_64 allmodconfig) produced these warnings:
> drivers/md/dm-delay.c: In function 'delay_iterate_devices':
> drivers/md/dm-delay.c:327: warning: passing argument 1 of 'fn' from incompatible pointer type
> drivers/md/dm-delay.c:327: note: expected 'struct dm_target *' but argument is of type 'struct delay_c *'
> drivers/md/dm-delay.c:332: warning: passing argument 1 of 'fn' from incompatible pointer type
> drivers/md/dm-delay.c:332: note: expected 'struct dm_target *' but argument is of type 'struct delay_c *'
> Introduced by commit ac2152571c038de73be920db171fb438d32bb744
> ("dm-targets-introduce-iterate-devices-fn").

Resolved, thanks.

Alasdair

2009-06-17 13:12:21

by Stephen Rothwell

[permalink] [raw]
Subject: Re: linux-next: device-mapper tree build warnings

Hi Alasdair,

On Wed, 17 Jun 2009 13:37:22 +0100 Alasdair G Kergon <[email protected]> wrote:
>
> Resolved, thanks.

Excellent.

--
Cheers,
Stephen Rothwell [email protected]
http://www.canb.auug.org.au/~sfr/


Attachments:
(No filename) (229.00 B)
(No filename) (197.00 B)
Download all attachments