# git rev-parse -q --verify 3758347012bc8e8f98e8af2af99c6b24b172277f^{commit} 3758347012bc8e8f98e8af2af99c6b24b172277f already have revision, skipping fetch # git checkout -q -f -B kisskb 3758347012bc8e8f98e8af2af99c6b24b172277f # git clean -qxdf # < git log -1 # commit 3758347012bc8e8f98e8af2af99c6b24b172277f # Author: Michael Ellerman # Date: Mon Jan 14 22:24:36 2019 +1100 # # powerpc/syscalls: Use the number when building SPU syscall table # # Currently the macro that inserts entries into the SPU syscall table # doesn't actually use the "nr" (syscall number) parameter. # # This does work, but it relies on the exact right number of syscall # entries being emitted in order for the syscal numbers to line up with # the array entries. If for example we had two entries with the same # syscall number we wouldn't get an error, it would just cause all # subsequent syscalls to be off by one in the spu_syscall_table. # # So instead change the macro to assign to the specific entry of the # array, meaning any numbering overlap will be caught by the compiler. # # Signed-off-by: Michael Ellerman # < /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 3758347012bc8e8f98e8af2af99c6b24b172277f # < make -s -j 48 ARCH=powerpc O=/kisskb/build/mpe_mpc512x_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc512x_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/mpe_mpc512x_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:186:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2594:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1855:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /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:339:21: note: 'pdeo' was declared here /kisskb/src/drivers/i2c/i2c-core-base.c: In function 'i2c_generic_scl_recovery': /kisskb/src/drivers/i2c/i2c-core-base.c:235:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/mtd/nand/raw/mpc5121_nfc.c: In function 'ads5121_select_chip': /kisskb/src/drivers/mtd/nand/raw/mpc5121_nfc.c:306:19: warning: unused variable 'mtd' [-Wunused-variable] INFO: Uncompressed kernel (size 0x5ff1f4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.0.0-rc2-g3758347012bc Created: Mon Jan 14 23:00:31 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3067776 Bytes = 2995.88 KiB = 2.93 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/mpe_mpc512x_defconfig_powerpc-gcc4.6 # Build took: 0:00:38.962952