# git rev-parse -q --verify e468f5c06b5ebef3f6f3c187e51aa6daab667e57^{commit} e468f5c06b5ebef3f6f3c187e51aa6daab667e57 already have revision, skipping fetch # git checkout -q -f -B kisskb e468f5c06b5ebef3f6f3c187e51aa6daab667e57 # git clean -qxdf # < git log -1 # commit e468f5c06b5ebef3f6f3c187e51aa6daab667e57 # Merge: baa888d25ea6 1ff2fea5e30c # Author: Linus Torvalds # Date: Thu Nov 1 18:34:46 2018 -0700 # # Merge tag 'compiler-attributes-for-linus-4.20-rc1' of https://github.com/ojeda/linux # # Pull compiler attribute updates from Miguel Ojeda: # "This is an effort to disentangle the include/linux/compiler*.h headers # and bring them up to date. # # The main idea behind the series is to use feature checking macros # (i.e. __has_attribute) instead of compiler version checks (e.g. # GCC_VERSION), which are compiler-agnostic (so they can be shared, # reducing the size of compiler-specific headers) and version-agnostic. # # Other related improvements have been performed in the headers as well, # which on top of the use of __has_attribute it has amounted to a # significant simplification of these headers (e.g. GCC_VERSION is now # only guarding a few non-attribute macros). # # This series should also help the efforts to support compiling the # kernel with clang and icc. A fair amount of documentation and comments # have also been added, clarified or removed; and the headers are now # more readable, which should help kernel developers in general. # # The series was triggered due to the move to gcc >= 4.6. In turn, this # series has also triggered Sparse to gain the ability to recognize # __has_attribute on its own. # # Finally, the __nonstring variable attribute series has been also # applied on top; plus two related patches from Nick Desaulniers for # unreachable() that came a bit afterwards" # # * tag 'compiler-attributes-for-linus-4.20-rc1' of https://github.com/ojeda/linux: # compiler-gcc: remove comment about gcc 4.5 from unreachable() # compiler.h: update definition of unreachable() # Compiler Attributes: ext4: remove local __nonstring definition # Compiler Attributes: auxdisplay: panel: use __nonstring # Compiler Attributes: enable -Wstringop-truncation on W=1 (gcc >= 8) # Compiler Attributes: add support for __nonstring (gcc >= 8) # Compiler Attributes: add MAINTAINERS entry # Compiler Attributes: add Doc/process/programming-language.rst # Compiler Attributes: remove uses of __attribute__ from compiler.h # Compiler Attributes: KENTRY used twice the "used" attribute # Compiler Attributes: use feature checks instead of version checks # Compiler Attributes: add missing SPDX ID in compiler_types.h # Compiler Attributes: remove unneeded sparse (__CHECKER__) tests # Compiler Attributes: homogenize __must_be_array # Compiler Attributes: remove unneeded tests # Compiler Attributes: always use the extra-underscores syntax # Compiler Attributes: remove unused attributes # < /opt/cross/kisskb/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < git log --format=%s --max-count=1 e468f5c06b5ebef3f6f3c187e51aa6daab667e57 # < make -s -j 8 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux- randconfig KCONFIG_SEED=0x5AE6BCAF # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # yes \n | make -s -j 8 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 8 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux- /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(); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /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/arch/x86/kernel/apic/io_apic.c: In function 'mp_map_pin_to_irq': /kisskb/src/arch/x86/kernel/apic/io_apic.c:1034:6: warning: 'irq' may be used uninitialized in this function [-Wuninitialized] /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/rcu/srcutree.c: In function 'init_srcu_struct_nodes': /kisskb/src/kernel/rcu/srcutree.c:133:33: warning: 'levelspread[]' may be used uninitialized in this function [-Wuninitialized] kernel/rcu/tree.o: warning: objtool: rcu_init_geometry()+0x69: unreachable instruction kernel/trace/trace.o: warning: objtool: tracing_start()+0x79: unreachable instruction /kisskb/src/kernel/sched/psi.c: In function 'cgroup_move_task': /kisskb/src/kernel/sched/sched.h:1063:8: warning: 'rq' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/sched/psi.c:639:13: note: 'rq' was declared here /kisskb/src/arch/x86/kernel/e820.c: In function 'e820__setup_pci_gap': /kisskb/src/arch/x86/kernel/e820.c:652:2: warning: 'gapstart' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/arch/x86/kernel/hw_breakpoint.c: In function 'hw_breakpoint_arch_parse': /kisskb/src/arch/x86/kernel/hw_breakpoint.c:366:18: warning: 'align' 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/drivers/dma-buf/reservation.c: In function 'reservation_object_add_shared_replace': /kisskb/src/drivers/dma-buf/reservation.c:208:2: warning: 'k' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/dma-buf/reservation.c:211:7: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/f2fs/file.c: In function 'f2fs_precache_extents': /kisskb/src/fs/f2fs/file.c:2926:6: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /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/fs/f2fs/node.c: In function '__set_nat_cache_dirty': /kisskb/src/include/linux/list.h:93:12: warning: 'head' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/f2fs/node.c:237:24: note: 'head' was declared here /kisskb/src/drivers/iommu/io-pgtable-arm-v7s.c: In function '__arm_v7s_map.constprop.15': /kisskb/src/drivers/iommu/io-pgtable-arm-v7s.c:438:7: warning: 'cptep' 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:341:21: note: 'pdeo' was declared here /kisskb/src/drivers/lightnvm/core.c: In function 'nvm_get_bb_meta': /kisskb/src/drivers/lightnvm/core.c:977:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/mfd/arizona-core.c: In function 'arizona_dev_init': /kisskb/src/drivers/mfd/arizona-core.c:1422:6: warning: 'n_subdevs' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/lib/raid6/recov_avx512.c:387:2: warning: #warning "your version of binutils lacks AVX512 support" [-Wcpp] /kisskb/src/drivers/nvme/host/lightnvm.c: In function 'nvme_nvm_get_chk_meta': /kisskb/src/drivers/nvme/host/lightnvm.c:580:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/soc/qcom/rpmh.c: In function 'rpmh_write_batch': /kisskb/src/drivers/soc/qcom/rpmh.c:355:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] fs/aio.o: warning: objtool: aio_nr_sub()+0x31: unreachable instruction drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.o: warning: objtool: pause_bulks()+0x20: unreachable instruction Completed OK # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64 # Build took: 0:03:07.848752