Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0194101b authored by Dinesh K Garg's avatar Dinesh K Garg
Browse files

md: dm-req-crypt: Initialize auto variable



req_crypt_should_encrypt() and req_crypt_should_deccrypt() APIs are
using variable ret without initialization. This could cause these APIs
to return wrong values. Initialized ret with proper value.

Change-Id: I42ec8c12f02bf22b0434c3931842609cd9a8b8e0
Signed-off-by: default avatarDinesh K Garg <dineshg@codeaurora.org>
parent 0d88d69d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment