linux-next: build failure after merge of the arm-soc tree

Stephen Rothwell sfr at canb.auug.org.au
Fri Apr 9 11:13:16 BST 2021


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210409/6af4581f/attachment.sig>


More information about the linux-arm-kernel mailing list