The first patch introduces a variable to handle different error codes and be able to reuse the same clean up code. The second add an omitted release by jumping to the clean code having set the returned value to the proper error code. -changes since v1 I failed to send the first version properly and it was missing a proper commit message, just ignore it. --- drivers/crypto/qat/qat_common/qat_uclo.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) --- -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html