# 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 120 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64le_defconfig+NO_KVM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64le_defconfig # Added to kconfig CONFIG_KVM_BOOK3S_64=n # Added to kconfig CONFIG_KVM=n # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64le_defconfig+NO_KVM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64le_defconfig+NO_KVM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64le_defconfig+NO_KVM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: final link failed: Bad value make[1]: *** [/kisskb/src/Makefile:1158: vmlinux] Error 1 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64le_defconfig+NO_KVM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next_ppc64le_defconfig+NO_KVM_powerpc-gcc5 # Build took: 0:01:04.718735