aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/cpacf.h
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2016-08-18 12:34:34 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-08-29 11:05:08 +0200
commitd863d5945f2be0abfcd9d36b1a7c605f3eaef517 (patch)
tree48803fe3c76f89ff76395d3b6bbcd2b61821f362 /arch/s390/include/asm/cpacf.h
parents390/crypto: simplify return code handling (diff)
downloadlinux-dev-d863d5945f2be0abfcd9d36b1a7c605f3eaef517.tar.xz
linux-dev-d863d5945f2be0abfcd9d36b1a7c605f3eaef517.zip
s390/crypto: simplify init / exit functions
The aes and the des module register multiple crypto algorithms dependent on the availability of specific CPACF instructions. To simplify the deregistration with crypto_unregister_alg add an array with pointers to the successfully registered algorithms and use it for the error handling in the init function and in the module exit function. Reviewed-by: Harald Freudenberger <freude@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/cpacf.h')
0 files changed, 0 insertions, 0 deletions