# git rev-parse -q --verify aa9581108f498991e309c4a90b1af0805d2e41b5^{commit} aa9581108f498991e309c4a90b1af0805d2e41b5 already have revision, skipping fetch # git checkout -q -f -B kisskb aa9581108f498991e309c4a90b1af0805d2e41b5 # git clean -qxdf # < git log -1 # commit aa9581108f498991e309c4a90b1af0805d2e41b5 # Author: Masahiro Yamada # Date: Wed Nov 6 20:23:57 2019 +0900 # # modpost: add an option to suppress 'exported twice' warnings # # Since commit "modpost: do not set ->preloaded for symbols from # Module.symvers", the modpost always warns about symbols exported # multiple times. # # Generally, I believe it is a good thing to show a warning when the # same symbol name is exported twice. This avoids the accidental symbol # conflict. # # However, in some cases, we build an external module to provide a # different version/variant of the in-kernel module, overriding the # same set of exported symbols. # # At least, there is one use-case in the upstream code; # tools/testing/nvdimm/libnvdimm.ko replaces drivers/nvdimm/libnvdimm.ko # in order to link it against mocked version of core kernel symbols. # # Now, this emits a lots of 'exported twice' warnings: # # https://lkml.org/lkml/2019/10/31/627 # # To suppress those, add a new option KBUILD_MULTI_EXPORT_NO_WARN. # # If you intentionally override the existing symbols, you can pass it # from the command line: # # make M=tools/testing/nvdimm KBUILD_MULTI_EXPORT_NO_WARN=1 # # Or, more conveniently, you can add it to the module Makefile, so # you can still do: # # make M=tools/testing/nvdimm # # without sprinkling the warnings. # # Reported-by: Jeff Moyer # Signed-off-by: Masahiro Yamada # Tested-by: Jeff Moyer # < /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 aa9581108f498991e309c4a90b1af0805d2e41b5 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/kbuild_mpc85xx_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc85xx_defconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/kbuild_mpc85xx_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:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c: In function 'wm8960_configure_clocking': /kisskb/src/sound/soc/codecs/wm8960.c:800:70: warning: 'j' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c:797:68: warning: 'i' 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:2591: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:1852:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1496:5: warning: 'page' 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:338:21: note: 'pdeo' was declared here /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /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/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 /kisskb/src/drivers/usb/core/devio.c: In function 'async_completed': /kisskb/src/drivers/usb/core/devio.c:625:23: warning: 'errno' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.4.0-rc6-gaa9581108f49 Created: Thu Nov 7 22:50:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5914101 Bytes = 5775.49 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc6-gaa9581108f49 Created: Thu Nov 7 22:50:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5913947 Bytes = 5775.34 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 INFO: Uncompressed kernel (size 0xc28fe4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.4.0-rc6-gaa9581108f49 Created: Thu Nov 7 22:50:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5913157 Bytes = 5774.57 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.4.0-rc6-gaa9581108f49 Created: Thu Nov 7 22:50:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5910154 Bytes = 5771.63 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.4.0-rc6-gaa9581108f49 Created: Thu Nov 7 22:50:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5913989 Bytes = 5775.38 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc6-gaa9581108f49 Created: Thu Nov 7 22:50:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5913136 Bytes = 5774.55 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc6-gaa9581108f49 Created: Thu Nov 7 22:50:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5911009 Bytes = 5772.47 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc6-gaa9581108f49 Created: Thu Nov 7 22:50:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5882577 Bytes = 5744.70 KiB = 5.61 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.4.0-rc6-gaa9581108f49 Created: Thu Nov 7 22:50:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5914951 Bytes = 5776.32 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc6-gaa9581108f49 Created: Thu Nov 7 22:50:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5910112 Bytes = 5771.59 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc6-gaa9581108f49 Created: Thu Nov 7 22:50:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5910194 Bytes = 5771.67 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc6-gaa9581108f49 Created: Thu Nov 7 22:50:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5910220 Bytes = 5771.70 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.4.0-rc6-gaa9581108f49 Created: Thu Nov 7 22:50:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5913545 Bytes = 5774.95 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc6-gaa9581108f49 Created: Thu Nov 7 22:50:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5911011 Bytes = 5772.47 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc6-gaa9581108f49 Created: Thu Nov 7 22:50:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5911021 Bytes = 5772.48 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.4.0-rc6-gaa9581108f49 Created: Thu Nov 7 22:50:07 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5910153 Bytes = 5771.63 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002e8 Completed OK # rm -rf /kisskb/build/kbuild_mpc85xx_defconfig_powerpc-gcc4.6 # Build took: 0:02:09.232934