Buildresult: linus/riscv-defconfig/riscv-gcc11 built on Sep 20 2021, 06:53
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Sep 20 2021, 06:53
Duration:
0:00:06.138584
Builder:
ka7
Revision:
dmascc: use proper 'virt_to_bus()' rather than casting to 'int' (
bc1abb9e55cedaeac4602426f8fc83fb3a5b1c35)
Target:
linus/riscv-defconfig/riscv-gcc11
Branch:
linus
Compiler:
riscv-gcc11
(riscv64-linux-gcc (GCC) 11.1.0 / GNU ld (GNU Binutils) 2.36.1)
Config:
defconfig
(
download
)
Log:
Download original
Possible errors
include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration make[3]: *** [scripts/Makefile.build:277: arch/riscv/kernel/process.o] Error 1 include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration make[3]: *** [scripts/Makefile.build:277: arch/riscv/kernel/time.o] Error 1 include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration make[3]: *** [scripts/Makefile.build:277: arch/riscv/kernel/irq.o] Error 1 include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration make[3]: *** [scripts/Makefile.build:277: arch/riscv/kernel/setup.o] Error 1 make[3]: *** [scripts/Makefile.build:277: arch/riscv/mm/fault.o] Error 1 make[2]: *** [scripts/Makefile.build:277: init/initramfs.o] Error 1 include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration make[2]: *** [scripts/Makefile.build:277: init/init_task.o] Error 1 make[2]: *** [scripts/Makefile.build:277: init/do_mounts_initrd.o] Error 1 make[3]: *** [scripts/Makefile.build:277: fs/nfs_common/grace.o] Error 1 make[2]: *** [scripts/Makefile.build:540: fs/nfs_common] Error 2 make[3]: *** [scripts/Makefile.build:277: arch/riscv/kernel/ptrace.o] Error 1 include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration make[3]: *** [scripts/Makefile.build:277: arch/riscv/mm/init.o] Error 1 make[2]: *** [scripts/Makefile.build:540: arch/riscv/mm] Error 2 make[3]: *** [scripts/Makefile.build:277: arch/riscv/kernel/signal.o] Error 1 make[2]: *** [scripts/Makefile.build:277: init/main.o] Error 1 make[2]: *** [scripts/Makefile.build:277: mm/filemap.o] Error 1 make[1]: *** [Makefile:1868: mm] Error 2 make[3]: *** [scripts/Makefile.build:277: arch/riscv/kernel/syscall_table.o] Error 1 make[3]: *** [scripts/Makefile.build:277: arch/riscv/kernel/sys_riscv.o] Error 1 make[4]: *** [scripts/Makefile.build:277: fs/notify/inotify/inotify_user.o] Error 1 make[3]: *** [scripts/Makefile.build:540: fs/notify/inotify] Error 2 make[2]: *** [scripts/Makefile.build:540: fs/notify] Error 2 make[1]: *** [Makefile:1868: fs] Error 2 make[3]: *** [scripts/Makefile.build:277: arch/riscv/kernel/traps.o] Error 1 include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration make[3]: *** [scripts/Makefile.build:277: arch/riscv/kernel/stacktrace.o] Error 1 include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration make[2]: *** [scripts/Makefile.build:540: arch/riscv/kernel] Error 2 make[1]: *** [Makefile:1868: arch/riscv] Error 2 include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration make[3]: *** [scripts/Makefile.build:277: security/keys/key.o] Error 1 make[2]: *** [scripts/Makefile.build:277: init/do_mounts.o] Error 1 make[1]: *** [Makefile:1868: init] Error 2 include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration make[2]: *** [scripts/Makefile.build:277: crypto/scatterwalk.o] Error 1 include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration make[3]: *** [scripts/Makefile.build:277: block/partitions/core.o] Error 1 make[2]: *** [scripts/Makefile.build:540: block/partitions] Error 2 include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration make[3]: *** [scripts/Makefile.build:277: kernel/sched/core.o] Error 1 make[2]: *** [scripts/Makefile.build:540: kernel/sched] Error 2 make[1]: *** [Makefile:1868: kernel] Error 2 make[3]: *** [scripts/Makefile.build:277: security/keys/keyring.o] Error 1 include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration make[3]: *** [scripts/Makefile.build:277: security/keys/keyctl.o] Error 1 make[2]: *** [scripts/Makefile.build:540: security/keys] Error 2 include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration make[3]: *** [scripts/Makefile.build:277: drivers/irqchip/irqchip.o] Error 1 make[3]: *** [scripts/Makefile.build:277: drivers/irqchip/irq-riscv-intc.o] Error 1 make[2]: *** [scripts/Makefile.build:277: crypto/aead.o] Error 1 include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration make[3]: *** [scripts/Makefile.build:277: drivers/irqchip/irq-sifive-plic.o] Error 1 make[2]: *** [scripts/Makefile.build:540: drivers/irqchip] Error 2 make[3]: *** [scripts/Makefile.build:277: drivers/gpio/gpiolib-devres.o] Error 1 include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration make[4]: *** [scripts/Makefile.build:277: drivers/pci/pcie/portdrv_core.o] Error 1 make[3]: *** [scripts/Makefile.build:540: drivers/pci/pcie] Error 2 make[4]: *** [scripts/Makefile.build:277: drivers/video/console/vgacon.o] Error 1 make[3]: *** [scripts/Makefile.build:540: drivers/video/console] Error 2 make[2]: *** [scripts/Makefile.build:540: drivers/video] Error 2 make[2]: *** [scripts/Makefile.build:277: block/bdev.o] Error 1 include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration make[2]: *** [scripts/Makefile.build:278: crypto/algapi.o] Error 1 make[2]: *** [scripts/Makefile.build:277: crypto/geniv.o] Error 1 make[5]: *** [scripts/Makefile.build:277: drivers/pci/controller/dwc/pcie-designware-host.o] Error 1 make[5]: *** [scripts/Makefile.build:277: drivers/pci/controller/dwc/pcie-designware.o] Error 1 include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration make[3]: *** [scripts/Makefile.build:277: drivers/gpio/gpiolib.o] Error 1 make[2]: *** [scripts/Makefile.build:540: drivers/gpio] Error 2 include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration make[2]: *** [scripts/Makefile.build:277: block/fops.o] Error 1 make[2]: *** [scripts/Makefile.build:277: crypto/ahash.o] Error 1 make[2]: *** [scripts/Makefile.build:277: crypto/shash.o] Error 1 include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration make[5]: *** [scripts/Makefile.build:277: drivers/pci/controller/dwc/pcie-fu740.o] Error 1 make[4]: *** [scripts/Makefile.build:540: drivers/pci/controller/dwc] Error 2 make[2]: *** [scripts/Makefile.build:277: crypto/rng.o] Error 1 include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration make[2]: *** [scripts/Makefile.build:277: crypto/skcipher.o] Error 1 make[2]: *** [scripts/Makefile.build:277: ipc/msg.o] Error 1 make[4]: *** [scripts/Makefile.build:277: drivers/pci/controller/pci-host-generic.o] Error 1 make[2]: *** [scripts/Makefile.build:277: ipc/shm.o] Error 1 make[2]: *** [scripts/Makefile.build:277: block/bio.o] Error 1 make[1]: *** [Makefile:1868: block] Error 2 make[2]: *** [scripts/Makefile.build:277: ipc/syscall.o] Error 1 make[3]: *** [scripts/Makefile.build:277: drivers/pci/access.o] Error 1 make[4]: *** [scripts/Makefile.build:277: drivers/pci/controller/pcie-xilinx.o] Error 1 make[4]: *** [scripts/Makefile.build:277: drivers/pci/controller/pci-host-common.o] Error 1 make[3]: *** [scripts/Makefile.build:540: drivers/pci/controller] Error 2 make[2]: *** [scripts/Makefile.build:540: drivers/pci] Error 2 make[1]: *** [Makefile:1868: drivers] Error 2 make[2]: *** [scripts/Makefile.build:277: security/commoncap.o] Error 1 make[1]: *** [Makefile:1868: security] Error 2 make[2]: *** [scripts/Makefile.build:277: ipc/sem.o] Error 1 make[2]: *** [scripts/Makefile.build:277: crypto/algif_hash.o] Error 1 make[2]: *** [scripts/Makefile.build:277: crypto/af_alg.o] Error 1 make[1]: *** [Makefile:1868: crypto] Error 2 make[2]: *** [scripts/Makefile.build:277: ipc/mqueue.o] Error 1 make[1]: *** [Makefile:1868: ipc] Error 2 make: *** [Makefile:219: __sub-make] Error 2
No warnings found in log.
Full Log
# git rev-parse -q --verify bc1abb9e55cedaeac4602426f8fc83fb3a5b1c35^{commit} bc1abb9e55cedaeac4602426f8fc83fb3a5b1c35 already have revision, skipping fetch # git checkout -q -f -B kisskb bc1abb9e55cedaeac4602426f8fc83fb3a5b1c35 # git clean -qxdf # < git log -1 # commit bc1abb9e55cedaeac4602426f8fc83fb3a5b1c35 # Author: Linus Torvalds <torvalds@linux-foundation.org> # Date: Sun Sep 19 10:49:42 2021 -0700 # # dmascc: use proper 'virt_to_bus()' rather than casting to 'int' # # The old dmascc driver depends on the legacy ISA_DMA_API, and blindly # just casts the kernel virtual address to 'int' for set_dma_addr(). # # That works only incidentally, and because the high bits of the address # will be ignored anyway. And on 64-bit architectures it causes warnings. # # Admittedly, 64-bit architectures with ISA are basically dead - I think # the only example of this is alpha, and nobody would ever use the dmascc # driver there. But hey, the fix is easy enough, the end result is # cleaner, and it's yet another configuration that now builds without # warnings. # # If somebody actually uses this driver on an alpha and this fixes it for # you, please email me. Because that is just incredibly bizarre. # # Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/riscv64-linux/bin/riscv64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/riscv64-linux/bin/riscv64-linux-ld --version # < git log --format=%s --max-count=1 bc1abb9e55cedaeac4602426f8fc83fb3a5b1c35 # < make -s -j 32 ARCH=riscv O=/kisskb/build/linus_riscv-defconfig_riscv-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/riscv64-linux/bin/riscv64-linux- defconfig # < make -s -j 32 ARCH=riscv O=/kisskb/build/linus_riscv-defconfig_riscv-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/riscv64-linux/bin/riscv64-linux- help # make -s -j 32 ARCH=riscv O=/kisskb/build/linus_riscv-defconfig_riscv-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/riscv64-linux/bin/riscv64-linux- olddefconfig # make -s -j 32 ARCH=riscv O=/kisskb/build/linus_riscv-defconfig_riscv-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/riscv64-linux/bin/riscv64-linux- In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/trace_recursion.h:5, from /kisskb/src/include/linux/ftrace.h:10, from /kisskb/src/include/linux/init_task.h:9, from /kisskb/src/init/init_task.c:2: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/trace_recursion.h:5, from /kisskb/src/include/linux/ftrace.h:10, from /kisskb/src/include/linux/init_task.h:9, from /kisskb/src/init/init_task.c:2: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/arch/riscv/kernel/irq.c:8: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/arch/riscv/kernel/irq.c:8: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/clocksource.h:22, from /kisskb/src/include/linux/clockchips.h:14, from /kisskb/src/include/linux/tick.h:8, from /kisskb/src/arch/riscv/kernel/process.c:15: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/clocksource.h:22, from /kisskb/src/include/linux/clockchips.h:14, from /kisskb/src/include/linux/tick.h:8, from /kisskb/src/arch/riscv/kernel/process.c:15: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/init/do_mounts.c:7: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/include/linux/suspend.h:5, from /kisskb/src/init/do_mounts.c:7: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/blk_types.h:10, from /kisskb/src/include/linux/genhd.h:19, from /kisskb/src/include/linux/blkdev.h:8, from /kisskb/src/init/do_mounts.h:3, from /kisskb/src/init/do_mounts_initrd.c:13: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/blk_types.h:10, from /kisskb/src/include/linux/genhd.h:19, from /kisskb/src/include/linux/blkdev.h:8, from /kisskb/src/init/do_mounts.h:3, from /kisskb/src/init/do_mounts_initrd.c:13: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/clocksource.h:22, from /kisskb/src/include/linux/clockchips.h:14, from /kisskb/src/include/linux/tick.h:8, from /kisskb/src/include/linux/sched/isolation.h:6, from /kisskb/src/kernel/sched/sched.h:17, from /kisskb/src/kernel/sched/core.c:13: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/clocksource.h:22, from /kisskb/src/include/linux/clockchips.h:14, from /kisskb/src/include/linux/tick.h:8, from /kisskb/src/include/linux/sched/isolation.h:6, from /kisskb/src/kernel/sched/sched.h:17, from /kisskb/src/kernel/sched/core.c:13: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/arch/riscv/mm/fault.c:12: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/arch/riscv/mm/fault.c:12: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/arch/riscv/mm/init.c:13: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/arch/riscv/mm/init.c:13: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/mm/filemap.c:20: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/mm/filemap.c:20: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/trace_events.h:9, from /kisskb/src/include/trace/syscall.h:7, from /kisskb/src/include/linux/syscalls.h:87, from /kisskb/src/init/initramfs.c:11: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/trace_events.h:9, from /kisskb/src/include/trace/syscall.h:7, from /kisskb/src/include/linux/syscalls.h:87, from /kisskb/src/init/initramfs.c:11: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/trace_events.h:9, from /kisskb/src/include/trace/syscall.h:7, from /kisskb/src/include/linux/syscalls.h:87, from /kisskb/src/init/main.c:21: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/trace_events.h:9, from /kisskb/src/include/trace/syscall.h:7, from /kisskb/src/include/linux/syscalls.h:87, from /kisskb/src/init/main.c:21: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/rtc.h:17, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/riscv/kernel/setup.c:21: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/rtc.h:17, from /kisskb/src/include/linux/efi.h:20, from /kisskb/src/arch/riscv/kernel/setup.c:21: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:277: arch/riscv/kernel/process.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/tracehook.h:50, from /kisskb/src/arch/riscv/kernel/ptrace.c:20: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/tracehook.h:50, from /kisskb/src/arch/riscv/kernel/ptrace.c:20: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/clocksource.h:22, from /kisskb/src/arch/riscv/kernel/time.c:8: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/clocksource.h:22, from /kisskb/src/arch/riscv/kernel/time.c:8: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:277: arch/riscv/kernel/time.o] Error 1 In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/skbuff.h:17, from /kisskb/src/include/net/net_namespace.h:39, from /kisskb/src/fs/nfs_common/grace.c:9: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/skbuff.h:17, from /kisskb/src/include/net/net_namespace.h:39, from /kisskb/src/fs/nfs_common/grace.c:9: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:277: arch/riscv/kernel/irq.o] Error 1 In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/trace_events.h:9, from /kisskb/src/include/trace/syscall.h:7, from /kisskb/src/include/linux/syscalls.h:87, from /kisskb/src/arch/riscv/kernel/signal.c:11: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/trace_events.h:9, from /kisskb/src/include/trace/syscall.h:7, from /kisskb/src/include/linux/syscalls.h:87, from /kisskb/src/arch/riscv/kernel/signal.c:11: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:277: arch/riscv/kernel/setup.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:277: arch/riscv/mm/fault.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:277: init/initramfs.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/trace_events.h:9, from /kisskb/src/include/trace/syscall.h:7, from /kisskb/src/include/linux/syscalls.h:87, from /kisskb/src/fs/notify/inotify/inotify_user.c:26: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/trace_events.h:9, from /kisskb/src/include/trace/syscall.h:7, from /kisskb/src/include/linux/syscalls.h:87, from /kisskb/src/fs/notify/inotify/inotify_user.c:26: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ make[2]: *** [/kisskb/src/scripts/Makefile.build:277: init/init_task.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:277: init/do_mounts_initrd.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:277: fs/nfs_common/grace.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:540: fs/nfs_common] Error 2 make[2]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:277: arch/riscv/kernel/ptrace.o] Error 1 In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/trace_events.h:9, from /kisskb/src/include/trace/syscall.h:7, from /kisskb/src/include/linux/syscalls.h:87, from /kisskb/src/arch/riscv/kernel/syscall_table.c:8: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/trace_events.h:9, from /kisskb/src/include/trace/syscall.h:7, from /kisskb/src/include/linux/syscalls.h:87, from /kisskb/src/arch/riscv/kernel/syscall_table.c:8: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/trace_recursion.h:5, from /kisskb/src/include/linux/ftrace.h:10, from /kisskb/src/include/linux/kprobes.h:29, from /kisskb/src/arch/riscv/kernel/traps.c:15: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/trace_recursion.h:5, from /kisskb/src/include/linux/ftrace.h:10, from /kisskb/src/include/linux/kprobes.h:29, from /kisskb/src/arch/riscv/kernel/traps.c:15: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/trace_events.h:9, from /kisskb/src/include/trace/syscall.h:7, from /kisskb/src/include/linux/syscalls.h:87, from /kisskb/src/arch/riscv/kernel/sys_riscv.c:8: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/trace_events.h:9, from /kisskb/src/include/trace/syscall.h:7, from /kisskb/src/include/linux/syscalls.h:87, from /kisskb/src/arch/riscv/kernel/sys_riscv.c:8: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:277: arch/riscv/mm/init.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:540: arch/riscv/mm] Error 2 make[2]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:277: arch/riscv/kernel/signal.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:277: init/main.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:277: mm/filemap.o] Error 1 make[1]: *** [/kisskb/src/Makefile:1868: mm] Error 2 make[1]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:277: arch/riscv/kernel/syscall_table.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:277: arch/riscv/kernel/sys_riscv.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:277: fs/notify/inotify/inotify_user.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:540: fs/notify/inotify] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:540: fs/notify] Error 2 make[1]: *** [/kisskb/src/Makefile:1868: fs] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:277: arch/riscv/kernel/traps.o] Error 1 In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/trace_recursion.h:5, from /kisskb/src/include/linux/ftrace.h:10, from /kisskb/src/arch/riscv/kernel/stacktrace.c:13: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/trace_recursion.h:5, from /kisskb/src/include/linux/ftrace.h:10, from /kisskb/src/arch/riscv/kernel/stacktrace.c:13: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:277: arch/riscv/kernel/stacktrace.o] Error 1 In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/blk_types.h:10, from /kisskb/src/include/linux/genhd.h:19, from /kisskb/src/block/partitions/core.c:10: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/blk_types.h:10, from /kisskb/src/include/linux/genhd.h:19, from /kisskb/src/block/partitions/core.c:10: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/kexec.h:19, from /kisskb/src/include/linux/ima.h:13, from /kisskb/src/security/keys/key.c:16: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/kexec.h:19, from /kisskb/src/include/linux/ima.h:13, from /kisskb/src/security/keys/key.c:16: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ make[2]: *** [/kisskb/src/scripts/Makefile.build:540: arch/riscv/kernel] Error 2 make[1]: *** [/kisskb/src/Makefile:1868: arch/riscv] Error 2 In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/skbuff.h:17, from /kisskb/src/include/net/net_namespace.h:39, from /kisskb/src/security/keys/keyring.c:21: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/skbuff.h:17, from /kisskb/src/include/net/net_namespace.h:39, from /kisskb/src/security/keys/keyring.c:21: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/trace_events.h:9, from /kisskb/src/include/trace/syscall.h:7, from /kisskb/src/include/linux/syscalls.h:87, from /kisskb/src/security/keys/keyctl.c:12: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/trace_events.h:9, from /kisskb/src/include/trace/syscall.h:7, from /kisskb/src/include/linux/syscalls.h:87, from /kisskb/src/security/keys/keyctl.c:12: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/drivers/irqchip/irq-riscv-intc.c:12: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/drivers/irqchip/irq-riscv-intc.c:12: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:277: security/keys/key.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:277: init/do_mounts.o] Error 1 make[1]: *** [/kisskb/src/Makefile:1868: init] Error 2 In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/crypto/scatterwalk.h:15, from /kisskb/src/crypto/scatterwalk.c:12: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/crypto/scatterwalk.h:15, from /kisskb/src/crypto/scatterwalk.c:12: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/linux/of_irq.h:7, from /kisskb/src/drivers/irqchip/irqchip.c:14: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/linux/of_irq.h:7, from /kisskb/src/drivers/irqchip/irqchip.c:14: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/drivers/irqchip/irq-sifive-plic.c:8: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/drivers/irqchip/irq-sifive-plic.c:8: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/blk_types.h:10, from /kisskb/src/include/linux/genhd.h:19, from /kisskb/src/include/linux/blkdev.h:8, from /kisskb/src/block/bdev.c:14: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/blk_types.h:10, from /kisskb/src/include/linux/genhd.h:19, from /kisskb/src/include/linux/blkdev.h:8, from /kisskb/src/block/bdev.c:14: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/linux/irqchip/chained_irq.h:10, from /kisskb/src/drivers/pci/controller/dwc/pcie-designware-host.c:11: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/linux/irqchip/chained_irq.h:10, from /kisskb/src/drivers/pci/controller/dwc/pcie-designware-host.c:11: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/skbuff.h:17, from /kisskb/src/include/linux/netlink.h:7, from /kisskb/src/include/net/netlink.h:6, from /kisskb/src/crypto/aead.c:18: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/skbuff.h:17, from /kisskb/src/include/linux/netlink.h:7, from /kisskb/src/include/net/netlink.h:6, from /kisskb/src/crypto/aead.c:18: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/skbuff.h:17, from /kisskb/src/include/net/net_namespace.h:39, from /kisskb/src/include/linux/netdevice.h:37, from /kisskb/src/include/linux/rtnetlink.h:7, from /kisskb/src/crypto/algapi.c:16: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/skbuff.h:17, from /kisskb/src/include/net/net_namespace.h:39, from /kisskb/src/include/linux/netdevice.h:37, from /kisskb/src/include/linux/rtnetlink.h:7, from /kisskb/src/crypto/algapi.c:16: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ make[2]: *** [/kisskb/src/scripts/Makefile.build:277: crypto/scatterwalk.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/drivers/gpio/gpiolib.c:6: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/drivers/gpio/gpiolib.c:6: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:277: block/partitions/core.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:540: block/partitions] Error 2 make[2]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/linux/gpio/driver.h:7, from /kisskb/src/include/asm-generic/gpio.h:11, from /kisskb/src/include/linux/gpio.h:62, from /kisskb/src/drivers/gpio/gpiolib-devres.c:11: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/linux/gpio/driver.h:7, from /kisskb/src/include/asm-generic/gpio.h:11, from /kisskb/src/include/linux/gpio.h:62, from /kisskb/src/drivers/gpio/gpiolib-devres.c:11: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/pci.h:38, from /kisskb/src/drivers/pci/pcie/portdrv_core.c:10: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/pci.h:38, from /kisskb/src/drivers/pci/pcie/portdrv_core.c:10: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/skbuff.h:17, from /kisskb/src/include/net/net_namespace.h:39, from /kisskb/src/include/linux/netdevice.h:37, from /kisskb/src/include/linux/rtnetlink.h:7, from /kisskb/src/crypto/geniv.c:16: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/skbuff.h:17, from /kisskb/src/include/net/net_namespace.h:39, from /kisskb/src/include/linux/netdevice.h:37, from /kisskb/src/include/linux/rtnetlink.h:7, from /kisskb/src/crypto/geniv.c:16: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:277: kernel/sched/core.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:540: kernel/sched] Error 2 make[1]: *** [/kisskb/src/Makefile:1868: kernel] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:277: security/keys/keyring.o] Error 1 In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/pci.h:38, from /kisskb/src/drivers/pci/controller/dwc/../../pci.h:5, from /kisskb/src/drivers/pci/controller/dwc/pcie-designware.c:16: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/pci.h:38, from /kisskb/src/drivers/pci/controller/dwc/../../pci.h:5, from /kisskb/src/drivers/pci/controller/dwc/pcie-designware.c:16: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:277: security/keys/keyctl.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:540: security/keys] Error 2 make[2]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/linux/gpio/driver.h:7, from /kisskb/src/include/asm-generic/gpio.h:11, from /kisskb/src/include/linux/gpio.h:62, from /kisskb/src/drivers/pci/controller/dwc/pcie-fu740.c:16: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/linux/gpio/driver.h:7, from /kisskb/src/include/asm-generic/gpio.h:11, from /kisskb/src/include/linux/gpio.h:62, from /kisskb/src/drivers/pci/controller/dwc/pcie-fu740.c:16: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:277: drivers/irqchip/irqchip.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:277: drivers/irqchip/irq-riscv-intc.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:277: crypto/aead.o] Error 1 In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/video/vga.h:21, from /kisskb/src/drivers/video/console/vgacon.c:51: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/video/vga.h:21, from /kisskb/src/drivers/video/console/vgacon.c:51: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/crypto/scatterwalk.h:15, from /kisskb/src/crypto/skcipher.c:15: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/crypto/scatterwalk.h:15, from /kisskb/src/crypto/skcipher.c:15: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:277: drivers/irqchip/irq-sifive-plic.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:540: drivers/irqchip] Error 2 make[2]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:277: drivers/gpio/gpiolib-devres.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/blk_types.h:10, from /kisskb/src/include/linux/genhd.h:19, from /kisskb/src/include/linux/blkdev.h:8, from /kisskb/src/block/fops.c:9: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/blk_types.h:10, from /kisskb/src/include/linux/genhd.h:19, from /kisskb/src/include/linux/blkdev.h:8, from /kisskb/src/block/fops.c:9: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ make[4]: *** [/kisskb/src/scripts/Makefile.build:277: drivers/pci/pcie/portdrv_core.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:540: drivers/pci/pcie] Error 2 make[3]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:277: drivers/video/console/vgacon.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:540: drivers/video/console] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:540: drivers/video] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:277: block/bdev.o] Error 1 In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/crypto/scatterwalk.h:15, from /kisskb/src/crypto/ahash.c:12: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/crypto/scatterwalk.h:15, from /kisskb/src/crypto/ahash.c:12: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/crypto/scatterwalk.h:15, from /kisskb/src/crypto/shash.c:8: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/crypto/scatterwalk.h:15, from /kisskb/src/crypto/shash.c:8: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ make[2]: *** [/kisskb/src/scripts/Makefile.build:278: crypto/algapi.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:277: crypto/geniv.o] Error 1 make[5]: *** [/kisskb/src/scripts/Makefile.build:277: drivers/pci/controller/dwc/pcie-designware-host.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:277: drivers/pci/controller/dwc/pcie-designware.o] Error 1 In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/scatterlist.h:9, from /kisskb/src/include/crypto/if_alg.h:14, from /kisskb/src/crypto/af_alg.c:11: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/scatterlist.h:9, from /kisskb/src/include/crypto/if_alg.h:14, from /kisskb/src/crypto/af_alg.c:11: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ make[3]: *** [/kisskb/src/scripts/Makefile.build:277: drivers/gpio/gpiolib.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:540: drivers/gpio] Error 2 In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/skbuff.h:17, from /kisskb/src/include/linux/netlink.h:7, from /kisskb/src/include/net/netlink.h:6, from /kisskb/src/crypto/rng.c:22: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/include/linux/skbuff.h:17, from /kisskb/src/include/linux/netlink.h:7, from /kisskb/src/include/net/netlink.h:6, from /kisskb/src/crypto/rng.c:22: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ make[2]: *** [/kisskb/src/scripts/Makefile.build:277: block/fops.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:277: crypto/ahash.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:277: crypto/shash.o] Error 1 In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/scatterlist.h:9, from /kisskb/src/include/crypto/if_alg.h:14, from /kisskb/src/crypto/algif_hash.c:11: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/scatterlist.h:9, from /kisskb/src/include/crypto/if_alg.h:14, from /kisskb/src/crypto/algif_hash.c:11: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/hugetlb.h:9, from /kisskb/src/ipc/shm.c:30: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/hugetlb.h:9, from /kisskb/src/ipc/shm.c:30: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/block/bio.c:6: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/kernel_stat.h:9, from /kisskb/src/include/linux/cgroup.h:26, from /kisskb/src/include/linux/memcontrol.h:13, from /kisskb/src/include/linux/swap.h:9, from /kisskb/src/block/bio.c:6: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ make[5]: *** [/kisskb/src/scripts/Makefile.build:277: drivers/pci/controller/dwc/pcie-fu740.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:540: drivers/pci/controller/dwc] Error 2 make[4]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:277: crypto/rng.o] Error 1 In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/trace_events.h:9, from /kisskb/src/include/trace/syscall.h:7, from /kisskb/src/include/linux/syscalls.h:87, from /kisskb/src/ipc/msg.c:35: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/trace_events.h:9, from /kisskb/src/include/trace/syscall.h:7, from /kisskb/src/include/linux/syscalls.h:87, from /kisskb/src/ipc/msg.c:35: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/pci.h:38, from /kisskb/src/include/linux/pci-ecam.h:8, from /kisskb/src/drivers/pci/controller/pci-host-generic.c:14: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/pci.h:38, from /kisskb/src/include/linux/pci-ecam.h:8, from /kisskb/src/drivers/pci/controller/pci-host-generic.c:14: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/drivers/pci/controller/pcie-xilinx.c:13: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/drivers/pci/controller/pcie-xilinx.c:13: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/pagemap.h:11, from /kisskb/src/security/commoncap.c:13: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/pagemap.h:11, from /kisskb/src/security/commoncap.c:13: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/pagemap.h:11, from /kisskb/src/ipc/mqueue.c:18: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/highmem.h:10, from /kisskb/src/include/linux/pagemap.h:11, from /kisskb/src/ipc/mqueue.c:18: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/pci.h:38, from /kisskb/src/drivers/pci/access.c:2: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/interrupt.h:11, from /kisskb/src/include/linux/pci.h:38, from /kisskb/src/drivers/pci/access.c:2: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/trace_events.h:9, from /kisskb/src/include/trace/syscall.h:7, from /kisskb/src/include/linux/syscalls.h:87, from /kisskb/src/ipc/syscall.c:9: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/trace_events.h:9, from /kisskb/src/include/trace/syscall.h:7, from /kisskb/src/include/linux/syscalls.h:87, from /kisskb/src/ipc/syscall.c:9: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/trace_events.h:9, from /kisskb/src/include/trace/syscall.h:7, from /kisskb/src/include/linux/syscalls.h:87, from /kisskb/src/ipc/sem.c:80: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/include/asm-generic/hardirq.h:17, from ./arch/riscv/include/generated/asm/hardirq.h:1, from /kisskb/src/include/linux/hardirq.h:11, from /kisskb/src/include/linux/trace_events.h:9, from /kisskb/src/include/trace/syscall.h:7, from /kisskb/src/include/linux/syscalls.h:87, from /kisskb/src/ipc/sem.c:80: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ In file included from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/of_address.h:7, from /kisskb/src/drivers/pci/controller/pci-host-common.c:12: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/riscv/include/asm/io.h:136, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/of_address.h:7, from /kisskb/src/drivers/pci/controller/pci-host-common.c:12: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ make[2]: *** [/kisskb/src/scripts/Makefile.build:277: crypto/skcipher.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:277: ipc/msg.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:277: drivers/pci/controller/pci-host-generic.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:277: ipc/shm.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:277: block/bio.o] Error 1 make[1]: *** [/kisskb/src/Makefile:1868: block] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:277: ipc/syscall.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:277: drivers/pci/access.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:277: drivers/pci/controller/pcie-xilinx.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:277: drivers/pci/controller/pci-host-common.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:540: drivers/pci/controller] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:540: drivers/pci] Error 2 make[1]: *** [/kisskb/src/Makefile:1868: drivers] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:277: security/commoncap.o] Error 1 make[1]: *** [/kisskb/src/Makefile:1868: security] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:277: ipc/sem.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:277: crypto/algif_hash.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:277: crypto/af_alg.o] Error 1 make[1]: *** [/kisskb/src/Makefile:1868: crypto] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:277: ipc/mqueue.o] Error 1 make[1]: *** [/kisskb/src/Makefile:1868: ipc] Error 2 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 32 ARCH=riscv O=/kisskb/build/linus_riscv-defconfig_riscv-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/riscv64-linux/bin/riscv64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_riscv-defconfig_riscv-gcc11 # Build took: 0:00:06.138584
© Michael Ellerman 2006-2018.