Slawomir Mrozowicz b75a76d354 cryptodev: fix crash when querying device by name
This patch fixes a segmentation fault in function
rte_cryptodev_devices_get(), due to incorrect driver name path.
It reworks the function to use correct types and clean up
for visibility.

Coverity issue: 141067
Fixes: 38227c0e3ad2 ("cryptodev: retrieve device info")

Signed-off-by: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2017-02-10 15:57:29 +01:00
..
2017-01-30 11:15:11 +01:00
2016-11-06 23:34:40 +01:00
2016-10-12 18:40:52 +02:00
2016-11-07 21:50:27 +01:00
2016-11-06 23:46:03 +01:00
2017-01-04 20:40:15 +01:00
2017-01-30 17:04:46 +01:00
2016-10-13 11:42:37 +02:00
2017-01-30 11:08:47 +01:00
2016-10-05 12:02:53 +02:00