# git rev-parse -q --verify 6cf666faa642a5e9194f05644d969bfd5e68099c^{commit} 6cf666faa642a5e9194f05644d969bfd5e68099c already have revision, skipping fetch # git checkout -q -f -B kisskb 6cf666faa642a5e9194f05644d969bfd5e68099c # git clean -qxdf # < git log -1 # commit 6cf666faa642a5e9194f05644d969bfd5e68099c # 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/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 6cf666faa642a5e9194f05644d969bfd5e68099c # < make -s -j 120 ARCH=sparc64 O=/kisskb/build/kbuild_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- defconfig # < make -s -j 120 ARCH=sparc64 O=/kisskb/build/kbuild_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- help # make -s -j 120 ARCH=sparc64 O=/kisskb/build/kbuild_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- olddefconfig # make -s -j 120 ARCH=sparc64 O=/kisskb/build/kbuild_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- :1515:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/drivers/scsi/Makefile:196: FORCE prerequisite is missing WARNING: modpost: EXPORT symbol "_mcount" [vmlinux] version ... Is "_mcount" prototyped in ? kernel: arch/sparc/boot/image is ready /kisskb/src/arch/sparc/boot/Makefile:26: FORCE prerequisite is missing kernel: arch/sparc/boot/zImage is ready Completed OK # rm -rf /kisskb/build/kbuild_sparc64-defconfig_sparc64 # Build took: 0:00:53.124007