# git rev-parse -q --verify 950cf957fe34d40d63dfa3bf3968210430b6491e^{commit} 950cf957fe34d40d63dfa3bf3968210430b6491e already have revision, skipping fetch # git checkout -q -f -B kisskb 950cf957fe34d40d63dfa3bf3968210430b6491e # git clean -qxdf # < git log -1 # commit 950cf957fe34d40d63dfa3bf3968210430b6491e # Author: Hangyu Hua # Date: Mon Apr 18 16:57:58 2022 +0800 # # misc: ocxl: fix possible double free in ocxl_file_register_afu # # info_release() will be called in device_unregister() when info->dev's # reference count is 0. So there is no need to call ocxl_afu_put() and # kfree() again. # # Fix this by adding free_minor() and return to err_unregister error path. # # Fixes: 75ca758adbaf ("ocxl: Create a clear delineation between ocxl backend & frontend") # Signed-off-by: Hangyu Hua # Acked-by: Frederic Barrat # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20220418085758.38145-1-hbh25y@gmail.com # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux-ld --version # < git log --format=%s --max-count=1 950cf957fe34d40d63dfa3bf3968210430b6491e # < make -s -j 120 ARCH=s390 O=/kisskb/build/powerpc-next_s390-defconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- defconfig # Added to kconfig CONFIG_DEBUG_INFO_BTF=n # Added to kconfig # < make -s -j 120 ARCH=s390 O=/kisskb/build/powerpc-next_s390-defconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- help # make -s -j 120 ARCH=s390 O=/kisskb/build/powerpc-next_s390-defconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- olddefconfig # make -s -j 120 ARCH=s390 O=/kisskb/build/powerpc-next_s390-defconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- /kisskb/src/arch/s390/kernel/machine_kexec.c: In function '__do_machine_kdump': /kisskb/src/arch/s390/kernel/machine_kexec.c:57:9: warning: 'memcpy' offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds] 57 | memcpy((void *) __LC_FPREGS_SAVE_AREA, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | (void *)(prefix + __LC_FPREGS_SAVE_AREA), 512); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/powerpc-next_s390-defconfig_s390x-gcc11 # Build took: 0:02:00.405390