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
Attachment:
pgpN_V1paXl9D.pgp
Description: OpenPGP digital signature