# git rev-parse -q --verify fbcde197e1befae4228715edf1288c7646808b8b^{commit} fbcde197e1befae4228715edf1288c7646808b8b already have revision, skipping fetch # git checkout -q -f -B kisskb fbcde197e1befae4228715edf1288c7646808b8b # git clean -qxdf # < git log -1 # commit fbcde197e1befae4228715edf1288c7646808b8b # Author: Tobin C. Harding # Date: Mon May 13 21:59:04 2019 +0200 # # gfs2: Fix error path kobject memory leak # # If a call to kobject_init_and_add() fails we must call kobject_put() # otherwise we leak memory. # # Function gfs2_sys_fs_add always calls kobject_init_and_add() which # always calls kobject_init(). # # It is safe to leave object destruction up to the kobject release # function and never free it manually. # # Remove call to kfree() and always call kobject_put() in the error path. # # Signed-off-by: Tobin C. Harding # Reviewed-by: Greg Kroah-Hartman # Signed-off-by: Andreas Gruenbacher # Signed-off-by: Linus Torvalds # < /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 fbcde197e1befae4228715edf1288c7646808b8b # < make -s -j 120 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=0x90597500 # 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 120 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 120 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- You are building kernel with non-retpoline compiler. Please update your compiler. make[1]: *** [arch/x86/Makefile:308: checkbin] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:179: sub-make] Error 2 Command 'make -s -j 120 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- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_um-x86_64 # Build took: 0:00:08.191264