# 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 # 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 # < /opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 bc1abb9e55cedaeac4602426f8fc83fb3a5b1c35 # < make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_sparc64-allnoconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- allnoconfig # < make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_sparc64-allnoconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- help # make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_sparc64-allnoconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- olddefconfig # make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_sparc64-allnoconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- :1515:2: warning: #warning syscall clone3 not implemented [-Wcpp] In file included from /kisskb/src/arch/sparc/include/asm/io_32.h:21:0, from /kisskb/src/arch/sparc/include/asm/io.h:7, from /kisskb/src/arch/sparc/vdso/vdso32/../vclock_gettime.c:18, from /kisskb/src/arch/sparc/vdso/vdso32/vclock_gettime.c:22: /kisskb/src/include/asm-generic/io.h:1059:21: error: redefinition of 'pci_iounmap' #define pci_iounmap pci_iounmap ^ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) ^ In file included from /kisskb/src/include/asm-generic/io.h:19:0, from /kisskb/src/arch/sparc/include/asm/io_32.h:21, from /kisskb/src/arch/sparc/include/asm/io.h:7, from /kisskb/src/arch/sparc/vdso/vdso32/../vclock_gettime.c:18, from /kisskb/src/arch/sparc/vdso/vdso32/vclock_gettime.c:22: /kisskb/src/include/asm-generic/pci_iomap.h:54:20: note: previous definition of 'pci_iounmap' was here static inline void pci_iounmap(struct pci_dev *dev, void __iomem *addr) ^ make[3]: *** [/kisskb/src/scripts/Makefile.build:277: arch/sparc/vdso/vdso32/vclock_gettime.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:540: arch/sparc/vdso] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1868: arch/sparc] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_sparc64-allnoconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_sparc64-allnoconfig_sparc64 # Build took: 0:00:24.857685