# git rev-parse -q --verify 2abd839aa7e615f2bbc50c8ba7deb9e40d186768^{commit} 2abd839aa7e615f2bbc50c8ba7deb9e40d186768 already have revision, skipping fetch # git checkout -q -f -B kisskb 2abd839aa7e615f2bbc50c8ba7deb9e40d186768 # git clean -qxdf # < git log -1 # commit 2abd839aa7e615f2bbc50c8ba7deb9e40d186768 # Author: Catalin Marinas # Date: Fri Oct 4 14:46:24 2019 +0100 # # kmemleak: Do not corrupt the object_list during clean-up # # In case of an error (e.g. memory pool too small), kmemleak disables # itself and cleans up the already allocated metadata objects. However, if # this happens early before the RCU callback mechanism is available, # put_object() skips call_rcu() and frees the object directly. This is not # safe with the RCU list traversal in __kmemleak_do_cleanup(). # # Change the list traversal in __kmemleak_do_cleanup() to # list_for_each_entry_safe() and remove the rcu_read_{lock,unlock} since # the kmemleak is already disabled at this point. In addition, avoid an # unnecessary metadata object rb-tree look-up since it already has the # struct kmemleak_object pointer. # # Fixes: c5665868183f ("mm: kmemleak: use the memory pool for early allocations") # Reported-by: Alexey Kardashevskiy # Reported-by: Marc Dionne # Reported-by: Ted Ts'o # Cc: Andrew Morton # Signed-off-by: Catalin Marinas # Signed-off-by: Linus Torvalds # < /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 2abd839aa7e615f2bbc50c8ba7deb9e40d186768 # < make -s -j 120 ARCH=arm O=/kisskb/build/linus_multi_v7_defconfig_arm CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi- multi_v7_defconfig # make -s -j 120 ARCH=arm O=/kisskb/build/linus_multi_v7_defconfig_arm CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi- /kisskb/src/arch/arm/crypto/Makefile:27: These CRC Extensions modules need binutils 2.23 or higher /kisskb/src/arch/arm/crypto/Makefile:28: crc32-arm-ce.o /kisskb/src/arch/arm/crypto/Makefile:37: These ARMv8 Crypto Extensions modules need binutils 2.23 or higher /kisskb/src/arch/arm/crypto/Makefile:38: aes-arm-ce.o sha1-arm-ce.o sha2-arm-ce.o ghash-arm-ce.o /kisskb/src/kernel/rcu/srcutree.c: In function 'init_srcu_struct_fields': /kisskb/src/kernel/rcu/srcutree.c:140:32: warning: 'levelspread[]' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/rcu/srcutree.c:88:6: note: 'levelspread[]' was declared here /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/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/sound/hda/hdac_regmap.c: In function 'hda_reg_write': /kisskb/src/sound/hda/hdac_regmap.c:284:16: warning: 'err' 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/drivers/clk/ti/clk.c: In function 'omap2_clk_for_each': /kisskb/src/drivers/clk/ti/clk.c:579:2: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/clk/sunxi-ng/ccu_mux.c: In function 'ccu_mux_helper_determine_rate': /kisskb/src/drivers/clk/sunxi-ng/ccu_mux.c:150:22: warning: 'best_parent' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/crypto/sha512_generic.c: In function 'sha512_transform': /kisskb/src/crypto/sha512_generic.c:149:1: warning: the frame size of 1184 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/sound/soc/soc-pcm.c: In function 'soc_pcm_trigger': /kisskb/src/sound/soc/soc-pcm.c:1074:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/soc-pcm.c: In function 'soc_pcm_bespoke_trigger': /kisskb/src/sound/soc/soc-pcm.c:1092:9: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c: In function 'sh_mobile_i2c_isr': /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c:399:26: warning: 'data' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c:372:16: note: 'data' was declared here /kisskb/src/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c: In function 'stmmac_open': /kisskb/src/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:1021:12: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:1011:6: note: 'ret' was declared here /kisskb/src/net/core/devlink.c: In function 'devlink_fmsg_prepare_skb': /kisskb/src/net/core/devlink.c:4484:6: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/sun4i/sun4i_tcon.c: In function 'sun4i_tcon_bind': /kisskb/src/drivers/gpu/drm/sun4i/sun4i_tcon.c:1178:35: warning: 'has_lvds_alt' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/soc/qcom/wcnss_ctrl.c: In function 'wcnss_async_probe': /kisskb/src/drivers/soc/qcom/wcnss_ctrl.c:299:5: warning: 'expect_cbc' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c: In function 'sun6i_dsi_encoder_enable': /kisskb/src/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c:721:8: warning: missing braces around initializer [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c:721:8: warning: (near initialization for 'opts.mipi_dphy') [-Wmissing-braces] /kisskb/src/net/mac80211/mlme.c: In function 'ieee80211_rx_mgmt_beacon': /kisskb/src/net/mac80211/mlme.c:1576:3: warning: 'pwr_level_cisco' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/mac80211/mlme.c:1533:6: note: 'pwr_level_cisco' was declared here /kisskb/src/drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c: In function 'get_scale_config': /kisskb/src/drivers/gpu/drm/msm/disp/mdp5/mdp5.xml.h:1036:16: warning: 'uv_filter' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c:697:22: note: 'uv_filter' was declared here /kisskb/src/drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c: In function 'gk104_top_oneinit': /kisskb/src/drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c:104:1: warning: 'inst' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c:104:1: warning: 'type' may be used uninitialized in this function [-Wuninitialized] WARNING: "return_address" [vmlinux] is a static EXPORT_SYMBOL_GPL Completed OK # rm -rf /kisskb/build/linus_multi_v7_defconfig_arm # Build took: 0:01:33.661545