Buildresult: powerpc-fixes/44x/iss476-smp_defconfig/powerpc-gcc5 built on Sep 2 2022, 22:23
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Sep 2 2022, 22:23
Duration:
0:01:11.672596
Builder:
ka1
Revision:
powerpc/papr_scm: Ensure rc is always initialized in papr_scm_pmu_register() (
6cf07810e9ef8535d60160d13bf0fd05f2af38e7)
Target:
powerpc-fixes/44x/iss476-smp_defconfig/powerpc-gcc5
Branch:
powerpc-fixes
Compiler:
powerpc-gcc5
(powerpc64-linux-gcc (GCC) 5.5.0 / GNU ld (GNU Binutils) 2.29.1.20170915)
Config:
44x/iss476-smp_defconfig
(
download
)
Log:
Download original
Possible warnings (4)
WARNING: unmet direct dependencies detected for HOTPLUG_CPU WARNING: unmet direct dependencies detected for HOTPLUG_CPU WARNING: unmet direct dependencies detected for HOTPLUG_CPU WARNING: unmet direct dependencies detected for HOTPLUG_CPU
Full Log
# git rev-parse -q --verify 6cf07810e9ef8535d60160d13bf0fd05f2af38e7^{commit} 6cf07810e9ef8535d60160d13bf0fd05f2af38e7 already have revision, skipping fetch # git checkout -q -f -B kisskb 6cf07810e9ef8535d60160d13bf0fd05f2af38e7 # git clean -qxdf # < git log -1 # commit 6cf07810e9ef8535d60160d13bf0fd05f2af38e7 # Author: Nathan Chancellor <nathan@kernel.org> # Date: Tue Aug 30 08:12:56 2022 -0700 # # powerpc/papr_scm: Ensure rc is always initialized in papr_scm_pmu_register() # # Clang warns: # # arch/powerpc/platforms/pseries/papr_scm.c:492:6: warning: variable 'rc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] # if (!p->stat_buffer_len) # ^~~~~~~~~~~~~~~~~~~ # arch/powerpc/platforms/pseries/papr_scm.c:523:64: note: uninitialized use occurs here # dev_info(&p->pdev->dev, "nvdimm pmu didn't register rc=%d\n", rc); # ^~ # include/linux/dev_printk.h:150:67: note: expanded from macro 'dev_info' # dev_printk_index_wrap(_dev_info, KERN_INFO, dev, dev_fmt(fmt), ##__VA_ARGS__) # ^~~~~~~~~~~ # include/linux/dev_printk.h:110:23: note: expanded from macro 'dev_printk_index_wrap' # _p_func(dev, fmt, ##__VA_ARGS__); \ # ^~~~~~~~~~~ # arch/powerpc/platforms/pseries/papr_scm.c:492:2: note: remove the 'if' if its condition is always false # if (!p->stat_buffer_len) # ^~~~~~~~~~~~~~~~~~~~~~~~ # arch/powerpc/platforms/pseries/papr_scm.c:484:8: note: initialize the variable 'rc' to silence this warning # int rc, nodeid; # ^ # = 0 # 1 warning generated. # # The call to papr_scm_pmu_check_events() was eliminated but a return code # was not added to the if statement. Add the same return code from # papr_scm_pmu_check_events() for this condition so there is no more # warning. # # Fixes: 9b1ac04698a4 ("powerpc/papr_scm: Fix nvdimm event mappings") # Signed-off-by: Nathan Chancellor <nathan@kernel.org> # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # Link: https://github.com/ClangBuiltLinux/linux/issues/1701 # Link: https://lore.kernel.org/r/20220830151256.1473169-1-nathan@kernel.org # < /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 6cf07810e9ef8535d60160d13bf0fd05f2af38e7 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_iss476-smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/iss476-smp_defconfig WARNING: unmet direct dependencies detected for HOTPLUG_CPU Depends on [n]: SMP [=y] && (PPC_PSERIES [=n] || PPC_PMAC [=n] || PPC_POWERNV [=n] || FSL_SOC_BOOKE [=n]) Selected by [y]: - PM_SLEEP_SMP [=y] && SMP [=y] && (ARCH_SUSPEND_POSSIBLE [=y] || ARCH_HIBERNATION_POSSIBLE [=y]) && PM_SLEEP [=y] WARNING: unmet direct dependencies detected for HOTPLUG_CPU Depends on [n]: SMP [=y] && (PPC_PSERIES [=n] || PPC_PMAC [=n] || PPC_POWERNV [=n] || FSL_SOC_BOOKE [=n]) Selected by [y]: - PM_SLEEP_SMP [=y] && SMP [=y] && (ARCH_SUSPEND_POSSIBLE [=y] || ARCH_HIBERNATION_POSSIBLE [=y]) && PM_SLEEP [=y] # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_iss476-smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_iss476-smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig WARNING: unmet direct dependencies detected for HOTPLUG_CPU Depends on [n]: SMP [=y] && (PPC_PSERIES [=n] || PPC_PMAC [=n] || PPC_POWERNV [=n] || FSL_SOC_BOOKE [=n]) Selected by [y]: - PM_SLEEP_SMP [=y] && SMP [=y] && (ARCH_SUSPEND_POSSIBLE [=y] || ARCH_HIBERNATION_POSSIBLE [=y]) && PM_SLEEP [=y] WARNING: unmet direct dependencies detected for HOTPLUG_CPU Depends on [n]: SMP [=y] && (PPC_PSERIES [=n] || PPC_PMAC [=n] || PPC_POWERNV [=n] || FSL_SOC_BOOKE [=n]) Selected by [y]: - PM_SLEEP_SMP [=y] && SMP [=y] && (ARCH_SUSPEND_POSSIBLE [=y] || ARCH_HIBERNATION_POSSIBLE [=y]) && PM_SLEEP [=y] # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_iss476-smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-fixes_44x_iss476-smp_defconfig_powerpc-gcc5 # Build took: 0:01:11.672596
© Michael Ellerman 2006-2018.