# git rev-parse -q --verify 7584c013e69f8e31026f4aa5afac6ea27f56a6b2^{commit} 7584c013e69f8e31026f4aa5afac6ea27f56a6b2 already have revision, skipping fetch # git checkout -q -f -B kisskb 7584c013e69f8e31026f4aa5afac6ea27f56a6b2 # git clean -qxdf # < git log -1 # commit 7584c013e69f8e31026f4aa5afac6ea27f56a6b2 # Author: Ariel Marcovitch # Date: Sun Aug 22 22:22:03 2021 +0300 # # checkkconfigsymbols.py: Forbid passing 'HEAD' to --commit # # As opposed to the --diff option, --commit can get ref names instead of # commit hashes. # # When using the --commit option, the script resets the working directory # to the commit before the given ref, by adding '~' to the end of the ref. # # However, the 'HEAD' ref is relative, and so when the working directory # is reset to 'HEAD~', 'HEAD' points to what was 'HEAD~'. Then when the # script resets to 'HEAD' it actually stays in the same commit. In this # case, the script won't report any cases because there is no diff between # the cases of the two refs. # # Prevent the user from using HEAD refs. # # A better solution might be to resolve the refs before doing the # reset, but for now just disallow such refs. # # Signed-off-by: Ariel Marcovitch # Signed-off-by: Masahiro Yamada # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 7584c013e69f8e31026f4aa5afac6ea27f56a6b2 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/kbuild_44x_iss476-smp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-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 24 ARCH=powerpc O=/kisskb/build/kbuild_44x_iss476-smp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/kbuild_44x_iss476-smp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-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 24 ARCH=powerpc O=/kisskb/build/kbuild_44x_iss476-smp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/net/sched/sch_frag.c: In function 'sch_fragment': /kisskb/src/net/sched/sch_frag.c:93:10: warning: missing braces around initializer [-Wmissing-braces] struct rtable sch_frag_rt = { 0 }; ^ /kisskb/src/net/sched/sch_frag.c:93:10: warning: (near initialization for 'sch_frag_rt.dst') [-Wmissing-braces] /kisskb/src/block/genhd.c: In function 'diskstats_show': /kisskb/src/block/genhd.c:1181:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ Completed OK # rm -rf /kisskb/build/kbuild_44x_iss476-smp_defconfig_powerpc-gcc4.9 # Build took: 0:01:09.400320