# git rev-parse -q --verify 94ede2a3e9135764736221c080ac7c0ad993dc2d^{commit} 94ede2a3e9135764736221c080ac7c0ad993dc2d already have revision, skipping fetch # git checkout -q -f -B kisskb 94ede2a3e9135764736221c080ac7c0ad993dc2d # git clean -qxdf # < git log -1 # commit 94ede2a3e9135764736221c080ac7c0ad993dc2d # Author: Linus Torvalds # Date: Mon Jul 29 16:34:17 2024 -0700 # # profiling: remove stale percpu flip buffer variables # # For some reason I didn't see this issue on my arm64 or x86-64 builds, # but Stephen Rothwell reports that commit 2accfdb7eff6 ("profiling: # attempt to remove per-cpu profile flip buffer") left these static # variables around, and the powerpc build is unhappy about them: # # kernel/profile.c:52:28: warning: 'cpu_profile_flip' defined but not used [-Wunused-variable] # 52 | static DEFINE_PER_CPU(int, cpu_profile_flip); # | ^~~~~~~~~~~~~~~~ # .. # # So remove these stale left-over remnants too. # # Fixes: 2accfdb7eff6 ("profiling: attempt to remove per-cpu profile flip buffer") # Reported-by: Stephen Rothwell # Signed-off-by: Linus Torvalds # < /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 94ede2a3e9135764736221c080ac7c0ad993dc2d # make -s -j 40 ARCH=powerpc O=/kisskb/build/linus_ppc64_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64_defconfig # < make -s -j 40 ARCH=powerpc O=/kisskb/build/linus_ppc64_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 40 ARCH=powerpc O=/kisskb/build/linus_ppc64_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 40 ARCH=powerpc O=/kisskb/build/linus_ppc64_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/fs/btrfs/inode.c: In function 'btrfs_lookup_dentry': /kisskb/src/fs/btrfs/inode.c:5603:9: warning: 'location.objectid' may be used uninitialized in this function [-Wmaybe-uninitialized] return btrfs_iget_path(ino, root, NULL); ^ /kisskb/src/fs/btrfs/inode.c:5663:19: note: 'location.objectid' was declared here struct btrfs_key location; ^ /kisskb/src/fs/btrfs/inode.c:5674:5: warning: 'location.type' may be used uninitialized in this function [-Wmaybe-uninitialized] if (location.type == BTRFS_INODE_ITEM_KEY) { ^ /kisskb/src/fs/btrfs/inode.c: At top level: cc1: warning: unrecognized command line option '-Wno-shift-negative-value' cc1: warning: unrecognized command line option '-Wno-shift-negative-value' cc1: warning: unrecognized command line option '-Wno-stringop-overflow' Completed OK # rm -rf /kisskb/build/linus_ppc64_defconfig_powerpc-gcc5 # Build took: 0:02:05.432840