linux_dsm_epyc7002/drivers/s390/crypto
Martin Schwidefsky 889875a14f s390/zcrypt: fix memory leak with ap configuration data
The ap_query_configuration function allocates the ap_config_info
structure, but there is no code to free the structure.
Allocate the structure in the module_init function and free it
again in module_exit.

While we are at it simplify a few functions in regard to the
ap configuration data.

Reviewed-by: Ingo Tuchscherer <ingo.tuchscherer@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2015-10-14 14:32:20 +02:00
..
ap_bus.c s390/zcrypt: fix memory leak with ap configuration data 2015-10-14 14:32:20 +02:00
ap_bus.h s390/zcrypt: fix memory leak with ap configuration data 2015-10-14 14:32:20 +02:00
Makefile
zcrypt_api.c s390/zcrypt: enable odd RSA modulus sizes in CRT format 2015-10-14 14:31:59 +02:00
zcrypt_api.h s390/zcrypt: Add support for new crypto express (CEX5S) adapter. 2015-01-23 15:17:14 +01:00
zcrypt_cca_key.h s390/zcrypt: enable odd RSA modulus sizes in CRT format 2015-10-14 14:31:59 +02:00
zcrypt_cex2a.c
zcrypt_cex2a.h
zcrypt_cex4.c s390/zcrypt: Fixed reset and interrupt handling of AP queues 2015-06-25 09:39:23 +02:00
zcrypt_cex4.h
zcrypt_debug.h
zcrypt_error.h
zcrypt_msgtype6.c
zcrypt_msgtype6.h
zcrypt_msgtype50.c s390/zcrypt: enable odd RSA modulus sizes in CRT format 2015-10-14 14:31:59 +02:00
zcrypt_msgtype50.h
zcrypt_pcica.c s390/zcrypt: enable odd RSA modulus sizes in CRT format 2015-10-14 14:31:59 +02:00
zcrypt_pcica.h
zcrypt_pcicc.c s390/zcrypt: remove obsolete __constant 2015-06-18 15:45:30 +02:00
zcrypt_pcicc.h
zcrypt_pcixcc.c s390/zcrypt: use msleep() instead of mdelay() 2015-08-19 10:40:26 +02:00
zcrypt_pcixcc.h