# git rev-parse -q --verify edd4d23d290772d75891f7cf35eb6bb66f2e4fe5^{commit} edd4d23d290772d75891f7cf35eb6bb66f2e4fe5 already have revision, skipping fetch # git checkout -q -f -B kisskb edd4d23d290772d75891f7cf35eb6bb66f2e4fe5 # git clean -qxdf # < git log -1 # commit edd4d23d290772d75891f7cf35eb6bb66f2e4fe5 # Author: Luc Van Oostenryck # Date: Sat Nov 9 13:12:16 2019 +0100 # # kbuild: tell sparse about the $ARCH # # Sparse uses the same executable for all archs and uses flags # like -m64, -mbig-endian or -D__arm__ for arch-specific parameters. # But Sparse also uses value from the host machine used to build # Sparse as default value for the target machine. # # This works, of course, well for native build but can create # problems when cross-compiling, like defining both '__i386__' # and '__arm__' when cross-compiling for arm on a x86-64 machine. # # Fix this by explicitely telling sparse the target architecture. # # Reported-by: Ben Dooks # Signed-off-by: Luc Van Oostenryck # Signed-off-by: Masahiro Yamada # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 edd4d23d290772d75891f7cf35eb6bb66f2e4fe5 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_44x_iss476-smp_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-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 32 ARCH=powerpc O=/kisskb/build/kbuild_44x_iss476-smp_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/block/blk-merge.c: In function 'blk_rq_map_sg': /kisskb/src/block/blk.h:78:50: warning: 'bvprv.bv_offset' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/block/blk-merge.c:466:42: note: 'bvprv.bv_offset' was declared here /kisskb/src/block/blk.h:81:12: warning: 'bvprv.bv_len' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/block/blk-merge.c:466:42: note: 'bvprv.bv_len' was declared here /kisskb/src/arch/powerpc/include/asm/io.h:802:22: warning: 'bvprv.bv_page' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/block/blk-merge.c:466:42: note: 'bvprv.bv_page' was declared here /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:338:21: note: 'pdeo' was declared here /kisskb/src/kernel/rcu/srcutree.c: In function 'init_srcu_struct_fields': /kisskb/src/kernel/rcu/srcutree.c:140:32: warning: 'levelspread[]' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/rcu/srcutree.c:88:6: note: 'levelspread[]' was declared here /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:248:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:228:19: note: 'i' was declared here INFO: Uncompressed kernel (size 0x61b284) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x61b284) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Completed OK # rm -rf /kisskb/build/kbuild_44x_iss476-smp_defconfig_powerpc-gcc4.6 # Build took: 0:00:51.922305