# 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/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 fbcde197e1befae4228715edf1288c7646808b8b # < make -s -j 120 ARCH=powerpc O=/kisskb/build/linus_pseries_le_defconfig_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pseries_le_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/linus_pseries_le_defconfig_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- :1388:2: warning: #warning syscall open_tree not implemented [-Wcpp] :1391:2: warning: #warning syscall move_mount not implemented [-Wcpp] :1394:2: warning: #warning syscall fsopen not implemented [-Wcpp] :1397:2: warning: #warning syscall fsconfig not implemented [-Wcpp] :1400:2: warning: #warning syscall fsmount not implemented [-Wcpp] :1403:2: warning: #warning syscall fspick not implemented [-Wcpp] /kisskb/src/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1658:17: warning: 'oldval' may be used uninitialized in this function [-Wmaybe-uninitialized] return oldval == cmparg; ^ /kisskb/src/kernel/futex.c:1633:6: note: 'oldval' was declared here int oldval, ret; ^ WARNING: vmlinux.o(.text+0x340c): Section mismatch in reference from the variable __boot_from_prom to the function .init.text:prom_init() The function __boot_from_prom() references the function __init prom_init(). This is often because __boot_from_prom lacks a __init annotation or the annotation of prom_init is wrong. WARNING: vmlinux.o(.text+0x3628): Section mismatch in reference from the variable start_here_multiplatform to the function .init.text:early_setup() The function start_here_multiplatform() references the function __init early_setup(). This is often because start_here_multiplatform lacks a __init annotation or the annotation of early_setup is wrong. WARNING: vmlinux.o(.text+0x3664): Section mismatch in reference from the variable start_here_common to the function .init.text:start_kernel() The function start_here_common() references the function __init start_kernel(). This is often because start_here_common lacks a __init annotation or the annotation of start_kernel is wrong. Completed OK # rm -rf /kisskb/build/linus_pseries_le_defconfig_ppc64le-gcc5 # Build took: 0:00:52.318094