linux-hardened/drivers/crypto/nx
Nishanth Aravamudan fa9a9a084a crypto: nx - nx842_OF_upd_status should return ENODEV if device is not 'okay'
The current documention mentions explicitly that EINVAL should be
returned if the device is not available, but nx842_OF_upd_status()
always returns 0. However, nx842_probe() specifically checks for
non-ENODEV returns from nx842_of_upd() (which in turn calls
nx842_OF_upd_status()) and emits an extra error in that case. It seems
like the proper return code of a disabled device is ENODEV.

Signed-off-by: Nishanth Aravamudan <nacc@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2015-07-06 16:32:02 +08:00
..
Kconfig crypto: nx - add LE support to pSeries platform driver 2015-06-19 14:49:18 +08:00
Makefile crypto: nx - prevent nx 842 load if no hw driver 2015-06-03 10:51:23 +08:00
nx-842-crypto.c crypto: nx - replace NX842_MEM_COMPRESS with function 2015-06-15 18:15:57 +08:00
nx-842-platform.c crypto: nx - prevent nx 842 load if no hw driver 2015-06-03 10:51:23 +08:00
nx-842-powernv.c crypto: nx - replace NX842_MEM_COMPRESS with function 2015-06-15 18:15:57 +08:00
nx-842-pseries.c crypto: nx - nx842_OF_upd_status should return ENODEV if device is not 'okay' 2015-07-06 16:32:02 +08:00
nx-842.c crypto: nx - replace NX842_MEM_COMPRESS with function 2015-06-15 18:15:57 +08:00
nx-842.h crypto: nx - add LE support to pSeries platform driver 2015-06-19 14:49:18 +08:00
nx-aes-cbc.c crypto: nx - Moving NX-AES-CBC to be processed logic 2014-11-06 23:15:00 +08:00
nx-aes-ccm.c crypto: nx - Moving NX-AES-CCM to be processed logic and sg_list bounds 2014-11-06 23:15:00 +08:00
nx-aes-ctr.c crypto: nx - Moving limit and bound logic in CTR and fix IV vector 2014-11-06 23:15:01 +08:00
nx-aes-ecb.c crypto: nx - Moving NX-AES-ECB to be processed logic 2014-11-06 23:15:01 +08:00
nx-aes-gcm.c crypto: nx - Convert GCM to new AEAD interface 2015-06-17 15:35:07 +08:00
nx-aes-xcbc.c crypto: nx - Moving NX-AES-XCBC to be processed logic 2014-11-06 23:15:02 +08:00
nx-sha256.c crypto: nx - Fixing SHA update bug 2015-04-26 14:33:19 +08:00
nx-sha512.c crypto: nx - Fixing SHA update bug 2015-04-26 14:33:19 +08:00
nx.c crypto: nx - Check for bogus firmware properties 2015-06-21 19:59:21 +08:00
nx.h crypto: nx - Convert GCM to new AEAD interface 2015-06-17 15:35:07 +08:00
nx_csbcpb.h
nx_debugfs.c powerpc/crypto: debugfs routines and docs for the nx device driver 2012-05-16 15:05:45 +10:00