# git rev-parse -q --verify 8996ae8f05a1cc5559120aaec36183edb9c68c50^{commit} 8996ae8f05a1cc5559120aaec36183edb9c68c50 already have revision, skipping fetch # git checkout -q -f -B kisskb 8996ae8f05a1cc5559120aaec36183edb9c68c50 # git clean -qxdf # < git log -1 # commit 8996ae8f05a1cc5559120aaec36183edb9c68c50 # Author: Stephen Rothwell # Date: Mon Sep 30 10:13:42 2019 +1000 # # powerpc/64s/radix: Fix build failure with RADIX_MMU=n # # After merging the powerpc tree, today's linux-next build (powerpc64 # allnoconfig) failed like this: # # arch/powerpc/mm/book3s64/pgtable.c:216:3: # error: implicit declaration of function 'radix__flush_all_lpid_guest' # # radix__flush_all_lpid_guest() is only declared for # CONFIG_PPC_RADIX_MMU which is not set for this build. # # Fix it by adding an empty version for the RADIX_MMU=n case, which # should never be called. # # Fixes: 99161de3a283 ("powerpc/64s/radix: tidy up TLB flushing code") # Signed-off-by: Stephen Rothwell # [mpe: Munge change log] # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20190930101342.36c1afa0@canb.auug.org.au # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 8996ae8f05a1cc5559120aaec36183edb9c68c50 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_le_defconfig+NO_NUMA_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pseries_le_defconfig # Added to kconfig CONFIG_NUMA=n # yes \n | make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_le_defconfig+NO_NUMA_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pseries_le_defconfig+NO_NUMA_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/drivers/scsi/cxlflash/main.c: In function 'send_afu_cmd': /kisskb/src/drivers/scsi/cxlflash/main.c:2347:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (rc) { ^ /kisskb/src/drivers/scsi/cxlflash/main.c:2357:2: note: here case -EAGAIN: ^~~~ /kisskb/src/drivers/scsi/cxlflash/main.c: In function 'term_intr': /kisskb/src/drivers/scsi/cxlflash/main.c:754:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (index == PRIMARY_HWQ) ^ /kisskb/src/drivers/scsi/cxlflash/main.c:756:2: note: here case UNMAP_TWO: ^~~~ /kisskb/src/drivers/scsi/cxlflash/main.c:757:3: warning: this statement may fall through [-Wimplicit-fallthrough=] cfg->ops->unmap_afu_irq(hwq->ctx_cookie, 2, hwq); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/cxlflash/main.c:758:2: note: here case UNMAP_ONE: ^~~~ /kisskb/src/drivers/scsi/cxlflash/main.c:759:3: warning: this statement may fall through [-Wimplicit-fallthrough=] cfg->ops->unmap_afu_irq(hwq->ctx_cookie, 1, hwq); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/cxlflash/main.c:760:2: note: here case FREE_IRQ: ^~~~ /kisskb/src/drivers/scsi/cxlflash/main.c: In function 'cxlflash_remove': /kisskb/src/drivers/scsi/cxlflash/main.c:975:3: warning: this statement may fall through [-Wimplicit-fallthrough=] cxlflash_release_chrdev(cfg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/cxlflash/main.c:976:2: note: here case INIT_STATE_SCSI: ^~~~ /kisskb/src/drivers/scsi/cxlflash/main.c:978:3: warning: this statement may fall through [-Wimplicit-fallthrough=] scsi_remove_host(cfg->host); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/cxlflash/main.c:979:2: note: here case INIT_STATE_AFU: ^~~~ /kisskb/src/drivers/scsi/cxlflash/main.c:980:3: warning: this statement may fall through [-Wimplicit-fallthrough=] term_afu(cfg); ^~~~~~~~~~~~~ /kisskb/src/drivers/scsi/cxlflash/main.c:981:2: note: here case INIT_STATE_PCI: ^~~~ /kisskb/src/drivers/scsi/cxlflash/main.c:983:3: warning: this statement may fall through [-Wimplicit-fallthrough=] pci_disable_device(pdev); ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/cxlflash/main.c:984:2: note: here case INIT_STATE_NONE: ^~~~ /kisskb/src/drivers/scsi/cxlflash/main.c: In function 'num_hwqs_store': /kisskb/src/drivers/scsi/cxlflash/main.c:3018:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (cfg->state == STATE_NORMAL) ^ /kisskb/src/drivers/scsi/cxlflash/main.c:3020:2: note: here default: ^~~~~~~ /kisskb/src/drivers/scsi/ibmvscsi/ibmvfc.c: In function 'ibmvfc_npiv_login_done': /kisskb/src/drivers/scsi/ibmvscsi/ibmvfc.c:4022:3: warning: this statement may fall through [-Wimplicit-fallthrough=] ibmvfc_retry_host_init(vhost); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/ibmvscsi/ibmvfc.c:4023:2: note: here case IBMVFC_MAD_DRIVER_FAILED: ^~~~ /kisskb/src/drivers/scsi/ibmvscsi/ibmvfc.c: In function 'ibmvfc_bsg_request': /kisskb/src/drivers/scsi/ibmvscsi/ibmvfc.c:1830:11: warning: this statement may fall through [-Wimplicit-fallthrough=] port_id = (bsg_request->rqst_data.h_els.port_id[0] << 16) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (bsg_request->rqst_data.h_els.port_id[1] << 8) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsg_request->rqst_data.h_els.port_id[2]; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/ibmvscsi/ibmvfc.c:1833:2: note: here case FC_BSG_RPT_ELS: ^~~~ /kisskb/src/drivers/scsi/ibmvscsi/ibmvfc.c:1838:11: warning: this statement may fall through [-Wimplicit-fallthrough=] port_id = (bsg_request->rqst_data.h_ct.port_id[0] << 16) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (bsg_request->rqst_data.h_ct.port_id[1] << 8) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsg_request->rqst_data.h_ct.port_id[2]; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/scsi/ibmvscsi/ibmvfc.c:1841:2: note: here case FC_BSG_RPT_CT: ^~~~ WARNING: vmlinux.o(.text+0x31dc): Section mismatch in reference from the variable __boot_from_prom to the function .init.text:prom_init() The function __boot_from_prom() references the function __init prom_init(). This is often because __boot_from_prom lacks a __init annotation or the annotation of prom_init is wrong. WARNING: vmlinux.o(.text+0x33c8): Section mismatch in reference from the variable start_here_common to the function .init.text:start_kernel() The function start_here_common() references the function __init start_kernel(). This is often because start_here_common lacks a __init annotation or the annotation of start_kernel is wrong. Completed OK # rm -rf /kisskb/build/powerpc-fixes_pseries_le_defconfig+NO_NUMA_powerpc-gcc8 # Build took: 0:03:02.743196