Re: [PATCH 1/2] Crypto/chcr: Avoid some code duplication

From: Markus Elfring
Date: Mon Jul 13 2020 - 15:31:25 EST


> The error handling path of 'chcr_authenc_setkey()' is the same as this
> error handling code.

I find this change description improvable.


> So just 'goto out' as done everywhere in the function to simplify the code.

I propose to adjust jump targets a bit more for better exception handling
in this function implementation.

Regards,
Markus