# git rev-parse -q --verify 21dfbcd1f5cbff9cf2f9e7e43475aed8d072b0dd^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/crypto master warning: The last gc run reported the following. Please correct the root cause and remove .git/gc.log. Automatic cleanup will not be performed until the file is removed. warning: There are too many unreachable loose objects; run 'git prune' to remove them. # git rev-parse -q --verify 21dfbcd1f5cbff9cf2f9e7e43475aed8d072b0dd^{commit} 21dfbcd1f5cbff9cf2f9e7e43475aed8d072b0dd # git checkout -q -f -B kisskb 21dfbcd1f5cbff9cf2f9e7e43475aed8d072b0dd # git clean -qxdf # < git log -1 # commit 21dfbcd1f5cbff9cf2f9e7e43475aed8d072b0dd # Author: Ondrej Mosnacek # Date: Wed Aug 12 14:58:25 2020 +0200 # # crypto: algif_aead - fix uninitialized ctx->init # # In skcipher_accept_parent_nokey() the whole af_alg_ctx structure is # cleared by memset() after allocation, so add such memset() also to # aead_accept_parent_nokey() so that the new "init" field is also # initialized to zero. Without that the initial ctx->init checks might # randomly return true and cause errors. # # While there, also remove the redundant zero assignments in both # functions. # # Found via libkcapi testsuite. # # Cc: Stephan Mueller # Fixes: f3c802a1f300 ("crypto: algif_aead - Only wake up when ctx->more is zero") # Suggested-by: Herbert Xu # Signed-off-by: Ondrej Mosnacek # Signed-off-by: Herbert Xu # < /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 21dfbcd1f5cbff9cf2f9e7e43475aed8d072b0dd # < make -s -j 24 ARCH=powerpc O=/kisskb/build/crypto_powernv_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- powernv_defconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/crypto_powernv_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/crypto_powernv_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/crypto_powernv_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/drivers/net/ethernet/intel/e1000e/netdev.c:137:13: warning: 'e1000e_check_me' defined but not used [-Wunused-function] static bool e1000e_check_me(u16 device_id) ^ Completed OK # rm -rf /kisskb/build/crypto_powernv_defconfig_powerpc-gcc5 # Build took: 0:03:32.079945