# git rev-parse -q --verify 7aec8604693cb387400565e7ef7c8ff8a6bfb791^{commit} 7aec8604693cb387400565e7ef7c8ff8a6bfb791 already have revision, skipping fetch # git checkout -q -f -B kisskb 7aec8604693cb387400565e7ef7c8ff8a6bfb791 # git clean -qxdf # < git log -1 # commit 7aec8604693cb387400565e7ef7c8ff8a6bfb791 # Author: Mathieu Malaterre # Date: Wed Dec 5 18:53:55 2018 +0100 # # powerpc/32: Move the old 6xx -mcpu logic before the TARGET_CPU logic # # The code: # # ifdef CONFIG_6xx # KBUILD_CFLAGS += -mcpu=powerpc # endif # # was added in 2006 in commit f48b8296b315 ("[PATCH] powerpc32: Set cpu # explicitly in kernel compiles"). This change was acceptable since the # TARGET_CPU logic was 64-bit only. # # Since commit 0e00a8c9fd92 ("powerpc: Allow CPU selection # also on PPC32") this logic is no longer acceptable after the TARGET_CPU # specific. It currently appends -mcpu=powerpc at the end of the command # line, after any TARGET_CPU specific: # # gcc -Wp,-MD,init/.do_mounts.o.d ... # -mcpu=powerpc -mbig-endian -m32 ... # -mcpu=e300c2 ... # -mcpu=powerpc ... # ../init/do_mounts.c # # Fixes: 0e00a8c9fd92 ("powerpc: Allow CPU selection also on PPC32") # Signed-off-by: Mathieu Malaterre # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < git log --format=%s --max-count=1 7aec8604693cb387400565e7ef7c8ff8a6bfb791 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc6xx_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc 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/kernel/cgroup/cgroup-v1.c: In function 'cgroup1_mount': /kisskb/src/kernel/cgroup/cgroup-v1.c:1256:20: warning: 'root' 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/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:223:2: warning: 'speaker_vol' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/ppc/awacs.c:886:36: note: 'speaker_vol' 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:341:21: note: 'pdeo' was declared here /kisskb/src/net/bridge/br_netlink.c: In function 'br_afspec': /kisskb/src/net/bridge/br_netlink.c:647:7: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/nfsd/nfs4xdr.c: In function 'nfsd4_encode_components_esc': /kisskb/src/fs/nfsd/nfs4xdr.c:2076:9: warning: 'str' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/udf/unicode.c: In function 'udf_name_conv_char': /kisskb/src/fs/udf/unicode.c:132:8: warning: 'c' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/dma-buf/reservation.c: In function 'reservation_object_add_shared_fence': /kisskb/src/drivers/dma-buf/reservation.c:226:6: warning: 'k' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/mac80211/mlme.c: In function 'ieee80211_rx_mgmt_beacon': /kisskb/src/net/mac80211/mlme.c:1513:3: warning: 'pwr_level_cisco' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/mac80211/mlme.c:1470:6: note: 'pwr_level_cisco' 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 /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1819:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1729:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/scripts/unifdef.c: In function 'Mpass': /kisskb/src/scripts/unifdef.c:453:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] static void Mpass (void) { strncpy(keyword, "if ", 4); Pelif(); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./usr/include/linux/v4l2-controls.h:1105: found __[us]{8,16,32,64} type without #include arch/powerpc/boot/dts/mpc832x_rdb.dtb: Warning (interrupts_property): /qe@e0100000/mdio@3120/ethernet-phy@0:#interrupt-cells: size is (4), expected multiple of 8 arch/powerpc/boot/dts/mpc832x_rdb.dtb: Warning (interrupts_property): /qe@e0100000/mdio@3120/ethernet-phy@4:#interrupt-cells: size is (4), expected multiple of 8 INFO: Uncompressed kernel (size 0xa9b62c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa9b62c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa9b62c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa9b62c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa9b62c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa9b62c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa9b62c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa9b62c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa9b62c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa9b62c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa8af48) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-4.20.0-rc2+ Created: Sat Dec 8 04:39:10 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5063294 Bytes = 4944.62 KiB = 4.83 MiB Load Address: 00b00000 Entry Point: 00b0029c INFO: Uncompressed kernel (size 0xa8af48) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-4.20.0-rc2+ Created: Sat Dec 8 04:39:10 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5063145 Bytes = 4944.48 KiB = 4.83 MiB Load Address: 00b00000 Entry Point: 00b0029c Image Name: Linux-4.20.0-rc2+ Created: Sat Dec 8 04:39:10 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5063623 Bytes = 4944.94 KiB = 4.83 MiB Load Address: 00b00000 Entry Point: 00b0029c Image Name: Linux-4.20.0-rc2+ Created: Sat Dec 8 04:39:10 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5063743 Bytes = 4945.06 KiB = 4.83 MiB Load Address: 00b00000 Entry Point: 00b0029c Image Name: Linux-4.20.0-rc2+ Created: Sat Dec 8 04:39:10 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5033307 Bytes = 4915.34 KiB = 4.80 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.20.0-rc2+ Created: Sat Dec 8 04:39:10 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5064473 Bytes = 4945.77 KiB = 4.83 MiB Load Address: 00b00000 Entry Point: 00b00894 Image Name: Linux-4.20.0-rc2+ Created: Sat Dec 8 04:39:10 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5064645 Bytes = 4945.94 KiB = 4.83 MiB Load Address: 00b00000 Entry Point: 00b00894 Image Name: Linux-4.20.0-rc2+ Created: Sat Dec 8 04:39:11 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5063745 Bytes = 4945.06 KiB = 4.83 MiB Load Address: 00b00000 Entry Point: 00b0029c Image Name: Linux-4.20.0-rc2+ Created: Sat Dec 8 04:39:11 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5063300 Bytes = 4944.63 KiB = 4.83 MiB Load Address: 00b00000 Entry Point: 00b0029c Completed OK # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc # Build took: 0:03:19.623205