# 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/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 950cf957fe34d40d63dfa3bf3968210430b6491e # < make -s -j 80 ARCH=x86 O=/kisskb/build/powerpc-next_x86_64_defconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- x86_64_defconfig # < make -s -j 80 ARCH=x86 O=/kisskb/build/powerpc-next_x86_64_defconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 80 ARCH=x86 O=/kisskb/build/powerpc-next_x86_64_defconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 80 ARCH=x86 O=/kisskb/build/powerpc-next_x86_64_defconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/powerpc-next_x86_64_defconfig_x86_64-gcc11 # Build took: 0:03:03.539950