cryptodev: fix session pointer cast
authorZhiyong Yang <zhiyong.yang@intel.com>
Tue, 23 Jan 2018 09:48:13 +0000 (17:48 +0800)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 29 Jan 2018 19:22:33 +0000 (20:22 +0100)
commit513942f07c8e6d55fe109732b68d79056f4e885c
treeb26b73d62cc326a4badaa7a7876ffbd575984e1f
parent7629b31f840b8e4da78404077e38ad1efe497e5e
cryptodev: fix session pointer cast

The wrong casts don't cause actual error, but they should conform to C
standard.

Fixes: c261d1431bd8 ("security: introduce security API and framework")
Fixes: b3bbd9e5f265 ("cryptodev: support device independent sessions")
Cc: stable@dpdk.org
Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
lib/librte_cryptodev/rte_cryptodev.c
lib/librte_security/rte_security.c