2021-04-09 10:21:22

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure after merge of the arm-soc tree

Hi all,

After merging the arm-soc tree, today's linux-next build (powerpc
allnoconfig) failed like this:

drivers/of/address.c: In function 'of_iomap':
drivers/of/address.c:907:10: error: implicit declaration of function 'ioremap_np'; did you mean 'ioremap_wt'? [-Werror=implicit-function-declaration]
907 | return ioremap_np(res.start, resource_size(&res));
| ^~~~~~~~~~
| ioremap_wt
drivers/of/address.c:907:10: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion]
907 | return ioremap_np(res.start, resource_size(&res));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/of/address.c: In function 'of_io_request_and_map':
drivers/of/address.c:942:7: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
942 | mem = ioremap_np(res.start, resource_size(&res));
| ^
lib/devres.c: In function '__devm_ioremap':
lib/devres.c:47:10: error: implicit declaration of function 'ioremap_np'; did you mean 'ioremap_wt'? [-Werror=implicit-function-declaration]
47 | addr = ioremap_np(offset, size);
| ^~~~~~~~~~
| ioremap_wt
lib/devres.c:47:8: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
47 | addr = ioremap_np(offset, size);
| ^

Caused by commits

7c566bb5e4d5 ("asm-generic/io.h: Add a non-posted variant of ioremap()")
89897f739d7b ("of/address: Add infrastructure to declare MMIO as non-posted")
(and maybe some others)

I have reverted 86332e9e3477..7d2d16ccf15d for today.

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2021-04-09 10:57:18

by Hector Martin

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the arm-soc tree

Hi Stephen,

On 09/04/2021 19.13, Stephen Rothwell wrote:
> Hi all,
>
> After merging the arm-soc tree, today's linux-next build (powerpc
> allnoconfig) failed like this:
>
[...]
> Caused by commits
>
> 7c566bb5e4d5 ("asm-generic/io.h: Add a non-posted variant of ioremap()")
> 89897f739d7b ("of/address: Add infrastructure to declare MMIO as non-posted")
> (and maybe some others)
>
> I have reverted 86332e9e3477..7d2d16ccf15d for today.

This is fixed in ea9629283839 in the soc tree, which went in a few hours
ago. Sorry for the noise.

--
Hector Martin ([email protected])
Public Key: https://mrcn.st/pub