# 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/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 fbcde197e1befae4228715edf1288c7646808b8b # < make -s -j 8 ARCH=powerpc O=/kisskb/build/linus_ppc40x_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc40x_defconfig # make -s -j 8 ARCH=powerpc O=/kisskb/build/linus_ppc40x_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-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/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:187: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:331:21: note: 'pdeo' was declared here /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:247:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:227:19: note: 'i' was declared here INFO: Uncompressed kernel (size 0x5414d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5414d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x530e60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5414d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5414d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.1.0-gfbcde197e1be Created: Wed May 15 11:13:45 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2638954 Bytes = 2577.10 KiB = 2.52 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.1.0-gfbcde197e1be Created: Wed May 15 11:13:45 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2669806 Bytes = 2607.23 KiB = 2.55 MiB Load Address: 00600000 Entry Point: 006019cc Image Name: Linux-5.1.0-gfbcde197e1be Created: Wed May 15 11:13:45 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2669140 Bytes = 2606.58 KiB = 2.55 MiB Load Address: 00600000 Entry Point: 00601758 Completed OK # rm -rf /kisskb/build/linus_ppc40x_defconfig_powerpc-gcc4.6 # Build took: 0:00:57.669714