# git rev-parse -q --verify aa9581108f498991e309c4a90b1af0805d2e41b5^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/mirror/linux-kbuild.git for-next warning: The last gc run reported the following. Please correct the root cause and remove .git/gc.log. Automatic cleanup will not be performed until the file is removed. warning: There are too many unreachable loose objects; run 'git prune' to remove them. # git rev-parse -q --verify aa9581108f498991e309c4a90b1af0805d2e41b5^{commit} aa9581108f498991e309c4a90b1af0805d2e41b5 # 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/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ld --version # < git log --format=%s --max-count=1 aa9581108f498991e309c4a90b1af0805d2e41b5 # < make -s -j 120 ARCH=arm O=/kisskb/build/kbuild_versatile_defconfig_arm CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi- versatile_defconfig # make -s -j 120 ARCH=arm O=/kisskb/build/kbuild_versatile_defconfig_arm CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi- /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/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/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 WARNING: "return_address" [vmlinux] is a static EXPORT_SYMBOL_GPL Completed OK # rm -rf /kisskb/build/kbuild_versatile_defconfig_arm # Build took: 0:00:31.210347