Re: [paulmck-rcu:fastexp.2022.04.01a] BUILD REGRESSION d9f3e7d671416fdf5b61f094765754269b652db0

From: Paul E. McKenney
Date: Sat Apr 02 2022 - 12:12:17 EST


On Sat, Apr 02, 2022 at 11:43:01PM +0800, kernel test robot wrote:
> tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git fastexp.2022.04.01a
> branch HEAD: d9f3e7d671416fdf5b61f094765754269b652db0 EXP rcu: Move expedited grace period (GP) work to RT kthread_worker
>
> Error/Warning reports:
>
> https://lore.kernel.org/lkml/202204021454.WDwBbwVL-lkp@xxxxxxxxx
>
> Error/Warning: (recently discovered and may have been fixed)
>
> arch/powerpc/include/asm/book3s/64/pgtable-64k.h:60:1: error: no return statement in function returning non-void

Adding Aneesh on CC. My kneejerk reaction would be to add a
"return 0" to this function, but there might be a reason why it
looks like this:

/*
* This should never get called
*/
static inline int get_hugepd_cache_index(int index)
{
BUG();
}

Working on the other problem with RCU's Kconfig options.

Thanx, Paul

> Error/Warning ids grouped by kconfigs:
>
> gcc_recent_errors
> `-- powerpc64-randconfig-c003-20220402
> `-- arch-powerpc-include-asm-book3s-pgtable-64k.h:error:no-return-statement-in-function-returning-non-void
>
> elapsed time: 819m
>
> configs tested: 124
> configs skipped: 3
>
> gcc tested configs:
> arm64 defconfig
> arm allmodconfig
> arm defconfig
> arm allyesconfig
> arm64 allyesconfig
> i386 randconfig-c001
> xtensa audio_kc705_defconfig
> arc nsimosci_hs_smp_defconfig
> powerpc ppc6xx_defconfig
> arm cerfcube_defconfig
> arm realview_defconfig
> arm jornada720_defconfig
> arm exynos_defconfig
> powerpc mpc85xx_cds_defconfig
> powerpc64 defconfig
> m68k m5208evb_defconfig
> powerpc makalu_defconfig
> sh se7721_defconfig
> powerpc allnoconfig
> arm aspeed_g5_defconfig
> mips loongson3_defconfig
> riscv allmodconfig
> alpha defconfig
> arm vf610m4_defconfig
> powerpc wii_defconfig
> sh dreamcast_defconfig
> powerpc mpc7448_hpc2_defconfig
> powerpc canyonlands_defconfig
> mips maltasmvp_eva_defconfig
> s390 zfcpdump_defconfig
> mips cobalt_defconfig
> sh se7712_defconfig
> x86_64 randconfig-c001
> arm randconfig-c002-20220402
> ia64 allmodconfig
> ia64 allyesconfig
> ia64 defconfig
> m68k allyesconfig
> m68k allmodconfig
> m68k defconfig
> nios2 defconfig
> arc allyesconfig
> csky defconfig
> nios2 allyesconfig
> alpha allyesconfig
> h8300 allyesconfig
> xtensa allyesconfig
> arc defconfig
> sh allmodconfig
> s390 defconfig
> s390 allmodconfig
> parisc defconfig
> parisc64 defconfig
> parisc allyesconfig
> s390 allyesconfig
> i386 debian-10.3-kselftests
> i386 debian-10.3
> i386 defconfig
> i386 allyesconfig
> sparc allyesconfig
> sparc defconfig
> mips allyesconfig
> mips allmodconfig
> powerpc allyesconfig
> powerpc allmodconfig
> x86_64 randconfig-a006
> x86_64 randconfig-a004
> x86_64 randconfig-a002
> i386 randconfig-a001
> i386 randconfig-a003
> i386 randconfig-a005
> x86_64 randconfig-a015
> x86_64 randconfig-a013
> x86_64 randconfig-a011
> i386 randconfig-a014
> i386 randconfig-a012
> i386 randconfig-a016
> arc randconfig-r043-20220402
> s390 randconfig-r044-20220402
> riscv randconfig-r042-20220402
> riscv defconfig
> riscv nommu_virt_defconfig
> riscv rv32_defconfig
> riscv nommu_k210_defconfig
> riscv allnoconfig
> riscv allyesconfig
> x86_64 rhel-8.3-kselftests
> um i386_defconfig
> um x86_64_defconfig
> x86_64 rhel-8.3-func
> x86_64 kexec
> x86_64 defconfig
> x86_64 allyesconfig
> x86_64 rhel-8.3-kunit
> x86_64 rhel-8.3
>
> clang tested configs:
> x86_64 randconfig-c007
> i386 randconfig-c001
> powerpc randconfig-c003-20220402
> riscv randconfig-c006-20220402
> mips randconfig-c004-20220402
> arm randconfig-c002-20220402
> powerpc obs600_defconfig
> arm neponset_defconfig
> powerpc mpc512x_defconfig
> arm spitz_defconfig
> arm spear13xx_defconfig
> mips bmips_stb_defconfig
> powerpc mpc5200_defconfig
> mips mtx1_defconfig
> powerpc mpc832x_mds_defconfig
> powerpc ge_imp3a_defconfig
> mips ip28_defconfig
> arm bcm2835_defconfig
> powerpc microwatt_defconfig
> x86_64 randconfig-a005
> i386 randconfig-a002
> i386 randconfig-a006
> i386 randconfig-a004
> x86_64 randconfig-a014
> x86_64 randconfig-a016
> x86_64 randconfig-a012
> i386 randconfig-a013
> i386 randconfig-a011
> i386 randconfig-a015
> hexagon randconfig-r041-20220402
> hexagon randconfig-r045-20220402
>
> --
> 0-DAY CI Kernel Test Service
> https://01.org/lkp