# 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/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 bc1abb9e55cedaeac4602426f8fc83fb3a5b1c35 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/linus_skiroot_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- skiroot_defconfig # < make -s -j 120 ARCH=powerpc O=/kisskb/build/linus_skiroot_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 120 ARCH=powerpc O=/kisskb/build/linus_skiroot_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/linus_skiroot_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/drivers/scsi/lpfc/lpfc_init.c: In function 'lpfc_sli4_driver_resource_setup': /kisskb/src/drivers/scsi/lpfc/lpfc_init.c:8280:28: error: 'struct lpfc_sli4_hba' has no member named 'c_stat' free_percpu(phba->sli4_hba.c_stat); ^ make[4]: *** [/kisskb/src/scripts/Makefile.build:277: drivers/scsi/lpfc/lpfc_init.o] Error 1 make[4]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/scsi/lpfc/lpfc_scsi.c: In function 'lpfc_queuecommand': /kisskb/src/drivers/scsi/lpfc/lpfc_scsi.c:5587:2: error: 'start' undeclared (first use in this function) start = ktime_get_ns(); ^ /kisskb/src/drivers/scsi/lpfc/lpfc_scsi.c:5587:2: note: each undeclared identifier is reported only once for each function it appears in make[4]: *** [/kisskb/src/scripts/Makefile.build:277: drivers/scsi/lpfc/lpfc_scsi.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:540: drivers/scsi/lpfc] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:540: drivers/scsi] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1868: drivers] Error 2 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 120 ARCH=powerpc O=/kisskb/build/linus_skiroot_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_skiroot_defconfig_powerpc-gcc5 # Build took: 0:00:57.361711