Buildresult: linus-rand/x86_64-randconfig/um-x86_64 built on Apr 8 2019, 16:04
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Apr 8 2019, 16:04
Duration:
0:04:38.653476
Builder:
ka4
Revision:
slab: fix a crash by reading /proc/slab_allocators (
fcf88917dd435c6a4cb2830cb086ee58605a1d85)
Target:
linus-rand/x86_64-randconfig/um-x86_64
Branch:
linus-rand
Compiler:
um-x86_64
(x86_64-linux-gcc.br_real (Buildroot 2017.05) 5.4.0 / GNU ld (GNU Binutils) 2.27)
Config:
randconfig
(
download
)
Log:
Download original
Possible warnings (4)
drivers/i2c/busses/i2c-sh_mobile.c:399:26: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/mfd/sun6i-prcm.c:151:22: warning: unused variable 'np' [-Wunused-variable] drivers/pinctrl/pxa/../pinctrl-utils.h:36:8: warning: 'enum pinctrl_map_type' declared inside parameter list drivers/pinctrl/pxa/../pinctrl-utils.h:36:8: warning: its scope is only this definition or declaration, which is probably not what you want
Full Log
# git rev-parse -q --verify fcf88917dd435c6a4cb2830cb086ee58605a1d85^{commit} fcf88917dd435c6a4cb2830cb086ee58605a1d85 already have revision, skipping fetch # git checkout -q -f -B kisskb fcf88917dd435c6a4cb2830cb086ee58605a1d85 # git clean -qxdf # < git log -1 # commit fcf88917dd435c6a4cb2830cb086ee58605a1d85 # Author: Qian Cai <cai@lca.pw> # Date: Sat Apr 6 18:59:01 2019 -0400 # # slab: fix a crash by reading /proc/slab_allocators # # The commit 510ded33e075 ("slab: implement slab_root_caches list") # changes the name of the list node within "struct kmem_cache" from "list" # to "root_caches_node", but leaks_show() still use the "list" which # causes a crash when reading /proc/slab_allocators. # # You need to have CONFIG_SLAB=y and CONFIG_MEMCG=y to see the problem, # because without MEMCG all slab caches are root caches, and the "list" # node happens to be the right one. # # Fixes: 510ded33e075 ("slab: implement slab_root_caches list") # Signed-off-by: Qian Cai <cai@lca.pw> # Reviewed-by: Tobin C. Harding <tobin@kernel.org> # Cc: Tejun Heo <tj@kernel.org> # Cc: Andrew Morton <akpm@linux-foundation.org> # Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> # < /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 fcf88917dd435c6a4cb2830cb086ee58605a1d85 # < make -s -j 10 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- randconfig KCONFIG_SEED=0x58234D74 # 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 10 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 10 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- /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 [-Wmaybe-uninitialized] pd->msg->buf[real_pos] = data; ^ /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c:372:16: note: 'data' was declared here unsigned char data; ^ /kisskb/src/drivers/mfd/sun6i-prcm.c: In function 'sun6i_prcm_probe': /kisskb/src/drivers/mfd/sun6i-prcm.c:151:22: warning: unused variable 'np' [-Wunused-variable] struct device_node *np = pdev->dev.of_node; ^ In file included from /kisskb/src/drivers/pinctrl/pxa/pinctrl-pxa2xx.c:24:0: /kisskb/src/drivers/pinctrl/pxa/../pinctrl-utils.h:36:8: warning: 'enum pinctrl_map_type' declared inside parameter list enum pinctrl_map_type type); ^ /kisskb/src/drivers/pinctrl/pxa/../pinctrl-utils.h:36:8: warning: its scope is only this definition or declaration, which is probably not what you want Completed OK # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_um-x86_64 # Build took: 0:04:38.653476
© Michael Ellerman 2006-2018.