diff options
| author | Zhen Kong <zkong@codeaurora.org> | 2017-02-07 17:15:54 -0800 |
|---|---|---|
| committer | Zhen Kong <zkong@codeaurora.org> | 2017-03-07 15:29:38 -0800 |
| commit | c83a067a9a82010e5b1b7685ca9720e9c27a52a7 (patch) | |
| tree | 37a9bd84bd8bdb4f162a44d1c751a1756c50fb41 /fs/btrfs/dev-replace.c | |
| parent | 59a631bcacba622a294d0c9e9e54ac9161413950 (diff) | |
qseecom: return app_id correctly when looking up and loading app
When __qseecom_check_app_exsits() and __qseecom_load_fw() get app_id
from TZ, they save it to function's return value then return back.
But "app_id" is of type uint32, "ret" is int32, this will return
incorrect app_id to the caller if app_id is larger than 0x7FFFFFFF.
Thus make change to return app_id correctly.
Change-Id: I2ef98d64490c480d5416ee24ec6ca9aca9c8ca8a
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
