# 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-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 950cf957fe34d40d63dfa3bf3968210430b6491e # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc7448_hpc2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc7448_hpc2_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc7448_hpc2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc7448_hpc2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc7448_hpc2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-next_mpc7448_hpc2_defconfig_powerpc-gcc5 # Build took: 0:00:48.860420