# 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 120 ARCH=powerpc O=/kisskb/build/mpe_44x_redwood_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- 44x/redwood_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/mpe_44x_redwood_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/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/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:247:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:227:19: note: 'i' was declared here Completed OK # rm -rf /kisskb/build/mpe_44x_redwood_defconfig_powerpc-gcc4.6 # Build took: 0:00:19.918022