Currently odp_crypto_session_create() (unlike other creation functions)
returns int result with session being returned through pointer argument.
Instead it is simpler to directly return a session (or
ODP_CRYPTO_SESSION_INVALID in case of an error).
Signed-off-by: Dmitry Eremin-Solenikov [email protected]

----------------github------------------------
/** Email created from pull request 37 (lumag:crypto-create-ret)
 ** https://github.com/Linaro/odp/pull/37
 ** Patch: https://github.com/Linaro/odp/pull/37.patch
 ** Base sha: 552817483e9d4b6a84d49960920f1de50029f111
 ** Merge commit sha: ce4931bac5b0c0cbf78cd588754e558a6145fea0
 **/
----------------/github------------------------

----------------checkpatch.pl------------------------
total: 0 errors, 0 warnings, 0 checks, 201 lines checked


to_send-p-000.patch has no obvious style problems and is ready for submission.
----------------/checkpatch.pl------------------------

Reply via email to