forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
Labels
[ARCH] hexagonThis bug impacts ARCH=hexagonThis bug impacts ARCH=hexagon[BUG] linuxA bug that should be fixed in the mainline kernel.A bug that should be fixed in the mainline kernel.[FIXED][LINUX] 5.5This bug was fixed in Linux 5.5This bug was fixed in Linux 5.5
Description
Trying to build hexagon in linux next, I'm running into what looks like an upstream bug:
$ ARCH=hexagon CROSS_COMPILE=hexagon-linux-gnu- make -j71 CC=clang AS=clang LD=ld.lld AR=llvm-ar
...
lib/devres.c:44:10: error: implicit declaration of function 'ioremap_uc' [-Werror,-Wimplicit-function-declaration]
addr = ioremap_uc(offset, size);
^
lib/devres.c:44:10: note: did you mean 'ioremap'?
./arch/hexagon/include/asm/io.h:174:15: note: 'ioremap' declared here
void __iomem *ioremap(unsigned long phys_addr, unsigned long size);
^
lib/devres.c:44:8: warning: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Wint-conversion]
addr = ioremap_uc(offset, size);
^ ~~~~~~~~~~~~~~~~~~~~~~~~
cc @androm3da
(I've extracted Sid's patches out from https://github.com/androm3da/continuous-integration/tree/hexagon_02_dec_2019/patches/llvm-all/linux/hexagon)
Metadata
Metadata
Assignees
Labels
[ARCH] hexagonThis bug impacts ARCH=hexagonThis bug impacts ARCH=hexagon[BUG] linuxA bug that should be fixed in the mainline kernel.A bug that should be fixed in the mainline kernel.[FIXED][LINUX] 5.5This bug was fixed in Linux 5.5This bug was fixed in Linux 5.5